#7E822B

Closest named color: Olive (#808000). oklch(58.6% 0.109 111.9), rgb(126, 130, 43).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameOlive (#808000)
Black text5.11:1
White text4.10:1

Values

HEX#7E822B
RGBrgb(126, 130, 43)
HSLhsl(63, 50%, 34%)
OKLCHoklch(58.6% 0.109 111.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 #7E822B 4.10:1 AA large text Lc -73.6 Content text, not long reading
Black text on #7E822B 5.11:1 AA Lc 36.0 Non-text elements, placeholder text
#7E822B text on white 4.10:1 AA large text Lc 68.1 Content text, not long reading
#7E822B text on black 5.11:1 AA Lc -33.5 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 600.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #D9DBC7

    oklch(88.4% 0.027 111.6)

  4. Step 300

    300

    #C1C4A0

    oklch(80.9% 0.049 111.4)

  5. Step 400

    400

    #A2A66C

    oklch(70.8% 0.079 111.6)

  6. Step 500

    500

    #8B8F43

    oklch(63% 0.1 111.7)

  7. Step 600

    600 (this color)

    #7E822B

    oklch(58.6% 0.109 111.9)

  8. Step 700

    700

    #636611

    oklch(49.2% 0.102 111.7)

  9. Step 800

    800

    #505313

    oklch(42.6% 0.084 112.1)

  10. Step 900

    900

    #434518

    oklch(37.8% 0.065 111.5)

  11. Step 950

    950

    #27280F

    oklch(26.9% 0.041 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E822B 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)#8C7C1F0.025
Deuteranopia (no green cones)#8C7E310.026
Tritanopia (no blue cones)#877A700.097
Achromatopsia (no color)#7D7D7D0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E822B

    #7E822B

    oklch(58.6% 0.109 111.9)

  • #7E6FB7

    #7E6FB7

    oklch(58.6% 0.109 292.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E822B

    #7E822B

    oklch(58.6% 0.109 111.9)

  • #9C7520

    #9C7520

    oklch(58.6% 0.109 82.3)

  • #548C4E

    #548C4E

    oklch(58.5% 0.109 142)

Open the analogous palette in the generator

Split complementary

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

  • #7E822B

    #7E822B

    oklch(58.6% 0.109 111.9)

  • #577BBD

    #577BBD

    oklch(58.5% 0.11 261.8)

  • #9A65A2

    #9A65A2

    oklch(58.6% 0.109 322.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E822B

    #7E822B

    oklch(58.6% 0.109 111.9)

  • #2187B1

    #2187B1

    oklch(58.7% 0.109 231.3)

  • #AC5F83

    #AC5F83

    oklch(58.5% 0.109 351.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E822B

    #7E822B

    oklch(58.6% 0.109 111.9)

  • #008D95

    #008D95

    oklch(58.6% 0.1 201.9)

  • #7E6FB7

    #7E6FB7

    oklch(58.6% 0.109 292.3)

  • #B4605E

    #B4605E

    oklch(58.7% 0.109 22.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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