#7D9D1F

Closest named color: Pea Soup (#929901). oklch(64.9% 0.15 123.6), rgb(125, 157, 31).

Aa

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

About this color

#7D9D1F is a medium-light, vivid yellow. In OKLCH its lightness is 65%, its chroma 0.150 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.028 away. Black text reads best on it, at 6.71:1.

Hue familyYellows
Lightnessmedium-light (65%)
Chromavivid (0.150)
Temperaturein between
Nearest namePea Soup (#929901)
Black text6.71:1
White text3.12:1

Values

HEX#7D9D1F
RGBrgb(125, 157, 31)
HSLhsl(75, 67%, 37%)
OKLCHoklch(64.9% 0.15 123.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 #7D9D1F 3.12:1 AA large text Lc -63.5 Content text, not long reading
Black text on #7D9D1F 6.71:1 AA Lc 45.9 Large or bold text, headings
#7D9D1F text on white 3.12:1 AA large text Lc 58.2 Large or bold text, headings
#7D9D1F text on black 6.71:1 AA Lc -43.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

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E7ECDD

    oklch(93.5% 0.021 121.8)

  3. Step 200

    200

    #D3DEC1

    oklch(88.4% 0.041 124.2)

  4. Step 300

    300

    #B7C995

    oklch(80.9% 0.073 123.5)

  5. Step 400

    400

    #92AD57

    oklch(70.8% 0.117 123.7)

  6. Step 500

    500 (this color)

    #7D9D1F

    oklch(64.9% 0.15 123.6)

  7. Step 600

    600

    #648000

    oklch(55.8% 0.138 123.5)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #445800

    oklch(42.8% 0.106 123.5)

  10. Step 900

    900

    #384900

    oklch(37.7% 0.093 123.4)

  11. Step 950

    950

    #202B04

    oklch(26.9% 0.061 124.1)

Export this scale for Tailwind in the Tailwind colors tool

#7D9D1F 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)#A693000.061
Deuteranopia (no green cones)#A2912C0.064
Tritanopia (no blue cones)#8495860.124
Achromatopsia (no color)#9292920.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D9D1F

    #7D9D1F

    oklch(64.9% 0.15 123.6)

  • #A275D8

    #A275D8

    oklch(64.8% 0.149 303.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D9D1F

    #7D9D1F

    oklch(64.9% 0.15 123.6)

  • #AA8C00

    #AA8C00

    oklch(64.9% 0.133 93.6)

  • #2BA862

    #2BA862

    oklch(64.8% 0.149 153.6)

Open the analogous palette in the generator

Split complementary

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

  • #7D9D1F

    #7D9D1F

    oklch(64.9% 0.15 123.6)

  • #7385E9

    #7385E9

    oklch(64.8% 0.15 273.8)

  • #C468B5

    #C468B5

    oklch(64.9% 0.151 333.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D9D1F

    #7D9D1F

    oklch(64.9% 0.15 123.6)

  • #1F96E2

    #1F96E2

    oklch(64.8% 0.15 243.8)

  • #D76385

    #D76385

    oklch(65% 0.149 3.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D9D1F

    #7D9D1F

    oklch(64.9% 0.15 123.6)

  • #00A0B9

    #00A0B9

    oklch(64.9% 0.114 214)

  • #A275D8

    #A275D8

    oklch(64.8% 0.149 303.5)

  • #DA684F

    #DA684F

    oklch(64.9% 0.149 33.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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