#5E7308

Closest named color: Olive Green (#677A04). oklch(52% 0.123 121.6), rgb(94, 115, 8).

Aa

White text reads best on this color (5.34:1).

About this color

#5E7308 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 52%, its chroma 0.123 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Green (#677A04), ΔE 0.026 away. White text reads best on it, at 5.34:1.

Hue familyYellows
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameOlive Green (#677A04)
Black text3.93:1
White text5.34:1

Values

HEX#5E7308
RGBrgb(94, 115, 8)
HSLhsl(72, 87%, 24%)
OKLCHoklch(52% 0.123 121.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 #5E7308 5.34:1 AA Lc -81.8 Fine for body text
Black text on #5E7308 3.93:1 AA large text Lc 27.6 Dividers and decoration only
#5E7308 text on white 5.34:1 AA Lc 76.4 Fine for body text
#5E7308 text on black 3.93:1 AA large text Lc -25.3 Dividers and decoration only

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 700.

  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

    #D5DDC5

    oklch(88.5% 0.033 122.1)

  4. Step 300

    300

    #BAC79D

    oklch(80.9% 0.059 121.7)

  5. Step 400

    400

    #97AA66

    oklch(70.7% 0.094 121.6)

  6. Step 500

    500

    #7E9438

    oklch(63% 0.121 121.3)

  7. Step 600

    600

    #677E08

    oklch(55.5% 0.132 121.7)

  8. Step 700

    700 (this color)

    #5E7308

    oklch(52% 0.123 121.6)

  9. Step 800

    800

    #465703

    oklch(42.7% 0.102 121.9)

  10. Step 900

    900

    #3B4810

    oklch(37.8% 0.08 121.7)

  11. Step 950

    950

    #232A0C

    oklch(27% 0.049 120.8)

Export this scale for Tailwind in the Tailwind colors tool

#5E7308 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)#7B6B000.048
Deuteranopia (no green cones)#786B170.048
Tritanopia (no blue cones)#646C610.104
Achromatopsia (no color)#6B6B6B0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #5E7308

    #5E7308

    oklch(52% 0.123 121.6)

  • #7655A3

    #7655A3

    oklch(51.9% 0.123 301.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5E7308

    #5E7308

    oklch(52% 0.123 121.6)

  • #7F6600

    #7F6600

    oklch(52% 0.106 91.9)

  • #207C43

    #207C43

    oklch(51.9% 0.123 151.7)

Open the analogous palette in the generator

Split complementary

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

  • #5E7308

    #5E7308

    oklch(52% 0.123 121.6)

  • #5062AF

    #5062AF

    oklch(51.9% 0.123 271.6)

  • #904B88

    #904B88

    oklch(51.9% 0.123 331.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5E7308

    #5E7308

    oklch(52% 0.123 121.6)

  • #006FA8

    #006FA8

    oklch(51.9% 0.122 241.7)

  • #A04664

    #A04664

    oklch(52% 0.123 1.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5E7308

    #5E7308

    oklch(52% 0.123 121.6)

  • #007687

    #007687

    oklch(51.9% 0.091 212.1)

  • #7655A3

    #7655A3

    oklch(51.9% 0.123 301.8)

  • #A34A3A

    #A34A3A

    oklch(52% 0.122 31.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5E7308 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.