#7C9407

Closest named color: Dark Yellow Green (#728F02). oklch(62.6% 0.148 120.6), rgb(124, 148, 7).

Aa

Black text reads best on this color (6.09:1).

About this color

#7C9407 is a medium-light, vivid yellow. In OKLCH its lightness is 63%, its chroma 0.148 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.021 away. Black text reads best on it, at 6.09:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromavivid (0.148)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text6.09:1
White text3.44:1

Values

HEX#7C9407
RGBrgb(124, 148, 7)
HSLhsl(70, 91%, 30%)
OKLCHoklch(62.6% 0.148 120.6)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #7C9407 3.44:1 AA large text Lc -67.3 Content text, not long reading
Black text on #7C9407 6.09:1 AA Lc 42.3 Non-text elements, placeholder text
#7C9407 text on white 3.44:1 AA large text Lc 61.8 Content text, not long reading
#7C9407 text on black 6.09:1 AA Lc -39.9 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F4F6EF

    oklch(97% 0.009 119.6)

  2. Step 100

    100

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D5DEC0

    oklch(88.6% 0.041 120.8)

  4. Step 300

    300

    #BAC894

    oklch(80.9% 0.072 120.3)

  5. Step 400

    400

    #97AB55

    oklch(70.7% 0.114 120.2)

  6. Step 500

    500 (this color)

    #7C9407

    oklch(62.6% 0.148 120.6)

  7. Step 600

    600

    #697E00

    oklch(55.6% 0.133 120.6)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485700

    oklch(42.9% 0.102 120.5)

  10. Step 900

    900

    #3B4800

    oklch(37.7% 0.09 120.7)

  11. Step 950

    950

    #222B03

    oklch(27.1% 0.061 121.6)

Export this scale for Tailwind in the Tailwind colors tool

#7C9407 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#9E8A000.055
Deuteranopia (no green cones)#9B8A1D0.055
Tritanopia (no blue cones)#848B7D0.126
Achromatopsia (no color)#8A8A8A0.148

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #7C9407

    #7C9407

    oklch(62.6% 0.148 120.6)

  • #9770D2

    #9770D2

    oklch(62.6% 0.147 300.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C9407

    #7C9407

    oklch(62.6% 0.148 120.6)

  • #A58300

    #A58300

    oklch(62.4% 0.128 90.3)

  • #31A056

    #31A056

    oklch(62.6% 0.148 150.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #7C9407

    #7C9407

    oklch(62.6% 0.148 120.6)

  • #6780E0

    #6780E0

    oklch(62.6% 0.147 270.7)

  • #B963B1

    #B963B1

    oklch(62.6% 0.148 330.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C9407

    #7C9407

    oklch(62.6% 0.148 120.6)

  • #0091D6

    #0091D6

    oklch(62.7% 0.145 240.4)

  • #CD5C83

    #CD5C83

    oklch(62.5% 0.148 0.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C9407

    #7C9407

    oklch(62.6% 0.148 120.6)

  • #0099AC

    #0099AC

    oklch(62.6% 0.108 210.2)

  • #9770D2

    #9770D2

    oklch(62.6% 0.147 300.6)

  • #D2604F

    #D2604F

    oklch(62.6% 0.148 30.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #7C9407, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #7C9407 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.