#7F8019

Closest named color: Olive (#808000). oklch(58.1% 0.118 110.2), rgb(127, 128, 25).

Aa

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

About this color

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

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

Values

HEX#7F8019
RGBrgb(127, 128, 25)
HSLhsl(61, 67%, 30%)
OKLCHoklch(58.1% 0.118 110.2)

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 #7F8019 4.19:1 AA large text Lc -74.3 Content text, not long reading
Black text on #7F8019 5.00:1 AA Lc 35.3 Non-text elements, placeholder text
#7F8019 text on white 4.19:1 AA large text Lc 68.8 Content text, not long reading
#7F8019 text on black 5.00:1 AA Lc -32.8 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

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #DADBC5

    oklch(88.5% 0.03 109.1)

  4. Step 300

    300

    #C2C49D

    oklch(80.9% 0.053 109.9)

  5. Step 400

    400

    #A3A666

    oklch(70.8% 0.086 110.7)

  6. Step 500

    500

    #8D8F39

    oklch(63.1% 0.109 110.4)

  7. Step 600

    600 (this color)

    #7F8019

    oklch(58.1% 0.118 110.2)

  8. Step 700

    700

    #656500

    oklch(49.1% 0.107 109.8)

  9. Step 800

    800

    #525304

    oklch(42.7% 0.092 110.5)

  10. Step 900

    900

    #444511

    oklch(37.8% 0.071 110.5)

  11. Step 950

    950

    #28280C

    oklch(27% 0.044 109)

Export this scale for Tailwind in the Tailwind colors tool

#7F8019 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)#8B7A000.022
Deuteranopia (no green cones)#8C7D220.024
Tritanopia (no blue cones)#88776D0.107
Achromatopsia (no color)#7C7C7C0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8019

    #7F8019

    oklch(58.1% 0.118 110.2)

  • #7A6DBB

    #7A6DBB

    oklch(58.1% 0.118 289.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8019

    #7F8019

    oklch(58.1% 0.118 110.2)

  • #9F7107

    #9F7107

    oklch(58.1% 0.118 79.8)

  • #528B45

    #528B45

    oklch(58% 0.118 139.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F8019

    #7F8019

    oklch(58.1% 0.118 110.2)

  • #507AC0

    #507AC0

    oklch(58.1% 0.118 260.1)

  • #9962A6

    #9962A6

    oklch(58.1% 0.118 319.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8019

    #7F8019

    oklch(58.1% 0.118 110.2)

  • #0086B2

    #0086B2

    oklch(58.1% 0.116 230.3)

  • #AE5B84

    #AE5B84

    oklch(58.2% 0.118 350.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8019

    #7F8019

    oklch(58.1% 0.118 110.2)

  • #008C92

    #008C92

    oklch(58.2% 0.099 200.1)

  • #7A6DBB

    #7A6DBB

    oklch(58.1% 0.118 289.9)

  • #B65B5D

    #B65B5D

    oklch(58.1% 0.118 20)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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