#7E9338

Closest named color: Drab Green (#749551). oklch(62.8% 0.119 120.9), rgb(126, 147, 56).

Aa

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

About this color

#7E9338 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.119 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab Green (#749551), ΔE 0.025 away. Black text reads best on it, at 6.11:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDrab Green (#749551)
Black text6.11:1
White text3.43:1

Values

HEX#7E9338
RGBrgb(126, 147, 56)
HSLhsl(74, 45%, 40%)
OKLCHoklch(62.8% 0.119 120.9)

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 #7E9338 3.43:1 AA large text Lc -67.2 Content text, not long reading
Black text on #7E9338 6.11:1 AA Lc 42.3 Non-text elements, placeholder text
#7E9338 text on white 3.43:1 AA large text Lc 61.8 Content text, not long reading
#7E9338 text on black 6.11: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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D6DDC5

    oklch(88.6% 0.033 120.3)

  4. Step 300

    300

    #BBC79D

    oklch(80.9% 0.058 120.7)

  5. Step 400

    400

    #98AA66

    oklch(70.8% 0.094 120.9)

  6. Step 500

    500 (this color)

    #7E9338

    oklch(62.8% 0.119 120.9)

  7. Step 600

    600

    #697E0B

    oklch(55.7% 0.13 120.8)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475704

    oklch(42.8% 0.101 121.3)

  10. Step 900

    900

    #3C4811

    oklch(37.9% 0.078 121)

  11. Step 950

    950

    #232A0C

    oklch(27% 0.049 120.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E9338 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)#9C8B2D0.046
Deuteranopia (no green cones)#998B3E0.046
Tritanopia (no blue cones)#848C800.100
Achromatopsia (no color)#8A8A8A0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E9338

    #7E9338

    oklch(62.8% 0.119 120.9)

  • #9576C5

    #9576C5

    oklch(62.7% 0.12 301.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E9338

    #7E9338

    oklch(62.8% 0.119 120.9)

  • #A3851D

    #A3851D

    oklch(62.8% 0.12 91.4)

  • #4B9D62

    #4B9D62

    oklch(62.9% 0.12 150.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E9338

    #7E9338

    oklch(62.8% 0.119 120.9)

  • #6E83D1

    #6E83D1

    oklch(62.8% 0.12 271.2)

  • #B16CAA

    #B16CAA

    oklch(62.7% 0.12 330.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E9338

    #7E9338

    oklch(62.8% 0.119 120.9)

  • #3890C9

    #3890C9

    oklch(62.6% 0.119 241)

  • #C26784

    #C26784

    oklch(62.7% 0.12 0.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E9338

    #7E9338

    oklch(62.8% 0.119 120.9)

  • #0099AD

    #0099AD

    oklch(62.6% 0.109 210.9)

  • #9576C5

    #9576C5

    oklch(62.7% 0.12 301.1)

  • #C66B5B

    #C66B5B

    oklch(62.8% 0.119 31.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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