#7F8116

Closest named color: Olive (#808000). oklch(58.3% 0.121 110.8), rgb(127, 129, 22).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameOlive (#808000)
Black text5.05:1
White text4.15:1

Values

HEX#7F8116
RGBrgb(127, 129, 22)
HSLhsl(61, 71%, 30%)
OKLCHoklch(58.3% 0.121 110.8)

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 #7F8116 4.15:1 AA large text Lc -74.0 Content text, not long reading
Black text on #7F8116 5.05:1 AA Lc 35.6 Non-text elements, placeholder text
#7F8116 text on white 4.15:1 AA large text Lc 68.5 Content text, not long reading
#7F8116 text on black 5.05:1 AA Lc -33.2 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #DADBC5

    oklch(88.5% 0.03 109.1)

  4. Step 300

    300

    #C2C49C

    oklch(80.8% 0.054 109.9)

  5. Step 400

    400

    #A3A665

    oklch(70.7% 0.087 110.7)

  6. Step 500

    500

    #8D8F37

    oklch(63% 0.111 110.4)

  7. Step 600

    600 (this color)

    #7F8116

    oklch(58.3% 0.121 110.8)

  8. Step 700

    700

    #646600

    oklch(49.2% 0.108 111.1)

  9. Step 800

    800

    #525301

    oklch(42.7% 0.093 110.6)

  10. Step 900

    900

    #44450F

    oklch(37.8% 0.073 110.5)

  11. Step 950

    950

    #27280B

    oklch(26.8% 0.046 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F8116 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)#8C7B000.024
Deuteranopia (no green cones)#8D7E200.025
Tritanopia (no blue cones)#89786E0.109
Achromatopsia (no color)#7C7C7C0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8116

    #7F8116

    oklch(58.3% 0.121 110.8)

  • #7C6DBD

    #7C6DBD

    oklch(58.4% 0.121 290.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8116

    #7F8116

    oklch(58.3% 0.121 110.8)

  • #9F7200

    #9F7200

    oklch(58.2% 0.12 81.1)

  • #508C46

    #508C46

    oklch(58.2% 0.12 140.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F8116

    #7F8116

    oklch(58.3% 0.121 110.8)

  • #507AC2

    #507AC2

    oklch(58.2% 0.121 260.6)

  • #9B61A7

    #9B61A7

    oklch(58.2% 0.122 320.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8116

    #7F8116

    oklch(58.3% 0.121 110.8)

  • #0086B3

    #0086B3

    oklch(58.1% 0.117 230.9)

  • #B05A84

    #B05A84

    oklch(58.3% 0.122 350.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8116

    #7F8116

    oklch(58.3% 0.121 110.8)

  • #008C93

    #008C93

    oklch(58.2% 0.099 201)

  • #7C6DBD

    #7C6DBD

    oklch(58.4% 0.121 290.8)

  • #B85B5C

    #B85B5C

    oklch(58.4% 0.121 20.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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