#7D9302

Closest named color: Dark Yellow Green (#728F02). oklch(62.4% 0.147 119.8), rgb(125, 147, 2).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (62%)
Chromavivid (0.147)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text6.04:1
White text3.47:1

Values

HEX#7D9302
RGBrgb(125, 147, 2)
HSLhsl(69, 97%, 29%)
OKLCHoklch(62.4% 0.147 119.8)

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 #7D9302 3.47:1 AA large text Lc -67.6 Content text, not long reading
Black text on #7D9302 6.04:1 AA Lc 42.0 Non-text elements, placeholder text
#7D9302 text on white 3.47:1 AA large text Lc 62.1 Content text, not long reading
#7D9302 text on black 6.04:1 AA Lc -39.6 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

    #D5DDC0

    oklch(88.4% 0.04 119.8)

  4. Step 300

    300

    #BAC894

    oklch(80.9% 0.072 120.3)

  5. Step 400

    400

    #98AB54

    oklch(70.7% 0.115 119.6)

  6. Step 500

    500 (this color)

    #7D9302

    oklch(62.4% 0.147 119.8)

  7. Step 600

    600

    #6A7D00

    oklch(55.5% 0.131 119.7)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #495600

    oklch(42.7% 0.101 119.3)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232A02

    oklch(26.9% 0.061 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#7D9302 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)#9D8A000.052
Deuteranopia (no green cones)#9B8A1B0.053
Tritanopia (no blue cones)#858A7C0.126
Achromatopsia (no color)#8A8A8A0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D9302

    #7D9302

    oklch(62.4% 0.147 119.8)

  • #9570D2

    #9570D2

    oklch(62.4% 0.147 299.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D9302

    #7D9302

    oklch(62.4% 0.147 119.8)

  • #A58200

    #A58200

    oklch(62.2% 0.127 89.6)

  • #349F54

    #349F54

    oklch(62.4% 0.147 149.7)

Open the analogous palette in the generator

Split complementary

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

  • #7D9302

    #7D9302

    oklch(62.4% 0.147 119.8)

  • #6580DF

    #6580DF

    oklch(62.4% 0.146 269.8)

  • #B763B1

    #B763B1

    oklch(62.4% 0.147 329.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D9302

    #7D9302

    oklch(62.4% 0.147 119.8)

  • #0090D3

    #0090D3

    oklch(62.3% 0.142 239.8)

  • #CC5C84

    #CC5C84

    oklch(62.4% 0.148 359.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D9302

    #7D9302

    oklch(62.4% 0.147 119.8)

  • #0098AB

    #0098AB

    oklch(62.3% 0.108 210.3)

  • #9570D2

    #9570D2

    oklch(62.4% 0.147 299.6)

  • #D15F50

    #D15F50

    oklch(62.3% 0.147 29.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #7D9302 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.