#7E8725

Closest named color: Olive (#808000). oklch(59.7% 0.119 114.6), rgb(126, 135, 37).

Aa

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

About this color

#7E8725 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.119 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive (#808000), ΔE 0.021 away. Black text reads best on it, at 5.37:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameOlive (#808000)
Black text5.37:1
White text3.90:1

Values

HEX#7E8725
RGBrgb(126, 135, 37)
HSLhsl(66, 57%, 34%)
OKLCHoklch(59.7% 0.119 114.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 #7E8725 3.90:1 AA large text Lc -71.9 Content text, not long reading
Black text on #7E8725 5.37:1 AA Lc 37.7 Non-text elements, placeholder text
#7E8725 text on white 3.90:1 AA large text Lc 66.4 Content text, not long reading
#7E8725 text on black 5.37:1 AA Lc -35.3 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

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D8DCC4

    oklch(88.5% 0.032 114.7)

  4. Step 300

    300

    #BFC69B

    oklch(81% 0.059 115.2)

  5. Step 400

    400

    #9FA862

    oklch(70.8% 0.094 114.8)

  6. Step 500

    500 (this color)

    #7E8725

    oklch(59.7% 0.119 114.6)

  7. Step 600

    600

    #727B00

    oklch(55.6% 0.126 114.8)

  8. Step 700

    700

    #606700

    oklch(49.1% 0.111 114.3)

  9. Step 800

    800

    #4E5400

    oklch(42.6% 0.096 114.4)

  10. Step 900

    900

    #41460B

    oklch(37.7% 0.078 114.5)

  11. Step 950

    950

    #26290A

    oklch(27% 0.049 114.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E8725 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)#9180140.032
Deuteranopia (no green cones)#90822D0.033
Tritanopia (no blue cones)#867F740.105
Achromatopsia (no color)#8181810.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8725

    #7E8725

    oklch(59.7% 0.119 114.6)

  • #8470BF

    #8470BF

    oklch(59.7% 0.119 294.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8725

    #7E8725

    oklch(59.7% 0.119 114.6)

  • #A0780D

    #A0780D

    oklch(59.6% 0.119 84.4)

  • #4E9250

    #4E9250

    oklch(59.8% 0.12 144.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E8725

    #7E8725

    oklch(59.7% 0.119 114.6)

  • #5B7DC6

    #5B7DC6

    oklch(59.7% 0.119 264.2)

  • #A265A7

    #A265A7

    oklch(59.7% 0.119 324.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8725

    #7E8725

    oklch(59.7% 0.119 114.6)

  • #1A8ABC

    #1A8ABC

    oklch(59.8% 0.119 234.6)

  • #B55F83

    #B55F83

    oklch(59.7% 0.118 354.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8725

    #7E8725

    oklch(59.7% 0.119 114.6)

  • #00909C

    #00909C

    oklch(59.6% 0.102 205.2)

  • #8470BF

    #8470BF

    oklch(59.7% 0.119 294.2)

  • #BC605B

    #BC605B

    oklch(59.7% 0.119 24.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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