#7D8A19

Closest named color: Swamp Green (#748500). oklch(60.3% 0.13 116.4), rgb(125, 138, 25).

Aa

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

About this color

#7D8A19 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.130 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.022 away. Black text reads best on it, at 5.52:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameSwamp Green (#748500)
Black text5.52:1
White text3.80:1

Values

HEX#7D8A19
RGBrgb(125, 138, 25)
HSLhsl(67, 69%, 32%)
OKLCHoklch(60.3% 0.13 116.4)

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 #7D8A19 3.80:1 AA large text Lc -70.9 Content text, not long reading
Black text on #7D8A19 5.52:1 AA Lc 38.7 Non-text elements, placeholder text
#7D8A19 text on white 3.80:1 AA large text Lc 65.4 Content text, not long reading
#7D8A19 text on black 5.52:1 AA Lc -36.2 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9ECDE

    oklch(93.7% 0.019 116.6)

  3. Step 200

    200

    #D7DDC2

    oklch(88.6% 0.037 117.3)

  4. Step 300

    300

    #BEC698

    oklch(80.9% 0.063 115.8)

  5. Step 400

    400

    #9DA95C

    oklch(70.8% 0.102 116.4)

  6. Step 500

    500 (this color)

    #7D8A19

    oklch(60.3% 0.13 116.4)

  7. Step 600

    600

    #707C00

    oklch(55.7% 0.128 116.3)

  8. Step 700

    700

    #5D6800

    oklch(49.1% 0.113 116.8)

  9. Step 800

    800

    #4C5500

    oklch(42.7% 0.098 116.6)

  10. Step 900

    900

    #3F4703

    oklch(37.8% 0.085 116.9)

  11. Step 950

    950

    #252A07

    oklch(27.2% 0.054 117.1)

Export this scale for Tailwind in the Tailwind colors tool

#7D8A19 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)#9482000.038
Deuteranopia (no green cones)#9383240.040
Tritanopia (no blue cones)#8582760.113
Achromatopsia (no color)#8383830.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D8A19

    #7D8A19

    oklch(60.3% 0.13 116.4)

  • #896FC5

    #896FC5

    oklch(60.3% 0.129 296.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D8A19

    #7D8A19

    oklch(60.3% 0.13 116.4)

  • #A17B00

    #A17B00

    oklch(60.3% 0.123 86.8)

  • #459550

    #459550

    oklch(60.2% 0.129 146.6)

Open the analogous palette in the generator

Split complementary

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

  • #7D8A19

    #7D8A19

    oklch(60.3% 0.13 116.4)

  • #5D7DCE

    #5D7DCE

    oklch(60.3% 0.129 266.3)

  • #A963AA

    #A963AA

    oklch(60.3% 0.13 326.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D8A19

    #7D8A19

    oklch(60.3% 0.13 116.4)

  • #038BC4

    #038BC4

    oklch(60.3% 0.13 236.5)

  • #BC5D83

    #BC5D83

    oklch(60.3% 0.129 356.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D8A19

    #7D8A19

    oklch(60.3% 0.13 116.4)

  • #0092A0

    #0092A0

    oklch(60.3% 0.103 206.7)

  • #896FC5

    #896FC5

    oklch(60.3% 0.129 296.2)

  • #C35E56

    #C35E56

    oklch(60.3% 0.131 26.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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