#7E7202

Closest named color: Brown Green (#706C11). oklch(54.6% 0.114 102.1), rgb(126, 114, 2).

Aa

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

About this color

#7E7202 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 55%, its chroma 0.114 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.030 away. White text reads best on it, at 4.88:1.

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.114)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text4.29:1
White text4.88:1

Values

HEX#7E7202
RGBrgb(126, 114, 2)
HSLhsl(54, 97%, 25%)
OKLCHoklch(54.6% 0.114 102.1)

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 #7E7202 4.88:1 AA Lc -79.1 Fine for body text
Black text on #7E7202 4.29:1 AA large text Lc 30.4 Non-text elements, placeholder text
#7E7202 text on white 4.88:1 AA Lc 73.7 Content text, not long reading
#7E7202 text on black 4.29:1 AA large text Lc -28.0 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 600.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEADF

    oklch(93.5% 0.015 102.5)

  3. Step 200

    200

    #DCDAC5

    oklch(88.4% 0.028 102.5)

  4. Step 300

    300

    #C7C29D

    oklch(80.9% 0.05 101)

  5. Step 400

    400

    #AAA366

    oklch(70.7% 0.082 102.6)

  6. Step 500

    500

    #968C38

    oklch(63.2% 0.106 102.5)

  7. Step 600

    600 (this color)

    #7E7202

    oklch(54.6% 0.114 102.1)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800

    #595004

    oklch(42.7% 0.087 101.7)

  10. Step 900

    900

    #494311

    oklch(37.8% 0.068 102.4)

  11. Step 950

    950

    #2B270C

    oklch(27% 0.043 101)

Export this scale for Tailwind in the Tailwind colors tool

#7E7202 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)#7E6E000.011
Deuteranopia (no green cones)#8173100.008
Tritanopia (no blue cones)#8969600.104
Achromatopsia (no color)#7171710.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7202

    #7E7202

    oklch(54.6% 0.114 102.1)

  • #6767B1

    #6767B1

    oklch(54.7% 0.114 282)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7202

    #7E7202

    oklch(54.6% 0.114 102.1)

  • #99640A

    #99640A

    oklch(54.7% 0.114 72.1)

  • #577E32

    #577E32

    oklch(54.7% 0.114 131.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E7202

    #7E7202

    oklch(54.6% 0.114 102.1)

  • #3A73B0

    #3A73B0

    oklch(54.6% 0.113 252)

  • #875BA0

    #875BA0

    oklch(54.6% 0.114 312.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7202

    #7E7202

    oklch(54.6% 0.114 102.1)

  • #007D9A

    #007D9A

    oklch(54.6% 0.101 221.6)

  • #9D5383

    #9D5383

    oklch(54.6% 0.115 342.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7202

    #7E7202

    oklch(54.6% 0.114 102.1)

  • #00817F

    #00817F

    oklch(54.5% 0.093 192.9)

  • #6767B1

    #6767B1

    oklch(54.7% 0.114 282)

  • #A8515E

    #A8515E

    oklch(54.6% 0.115 12.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7E7202.

Similar named colors

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

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