#7F960F

Closest named color: Dark Yellow Green (#728F02). oklch(63.3% 0.147 120.1), rgb(127, 150, 15).

Aa

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

About this color

#7F960F is a medium-light, vivid yellow. In OKLCH its lightness is 63%, its chroma 0.147 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.028 away. Black text reads best on it, at 6.27:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromavivid (0.147)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text6.27:1
White text3.34:1

Values

HEX#7F960F
RGBrgb(127, 150, 15)
HSLhsl(70, 82%, 32%)
OKLCHoklch(63.3% 0.147 120.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 #7F960F 3.34:1 AA large text Lc -66.2 Content text, not long reading
Black text on #7F960F 6.27:1 AA Lc 43.3 Non-text elements, placeholder text
#7F960F text on white 3.34:1 AA large text Lc 60.7 Content text, not long reading
#7F960F text on black 6.27:1 AA Lc -41.0 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

    #F4F6EF

    oklch(97% 0.009 119.6)

  2. Step 100

    100

    #E8ECDD

    oklch(93.6% 0.02 118.9)

  3. Step 200

    200

    #D5DDC0

    oklch(88.4% 0.04 119.8)

  4. Step 300

    300

    #BAC894

    oklch(80.9% 0.072 120.3)

  5. Step 400

    400

    #97AB55

    oklch(70.7% 0.114 120.2)

  6. Step 500

    500 (this color)

    #7F960F

    oklch(63.3% 0.147 120.1)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232A03

    oklch(26.9% 0.059 119.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F960F 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)#A08D000.052
Deuteranopia (no green cones)#9D8D210.052
Tritanopia (no blue cones)#878D7F0.125
Achromatopsia (no color)#8C8C8C0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F960F

    #7F960F

    oklch(63.3% 0.147 120.1)

  • #9973D5

    #9973D5

    oklch(63.4% 0.146 300.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F960F

    #7F960F

    oklch(63.3% 0.147 120.1)

  • #A88500

    #A88500

    oklch(63.2% 0.129 90)

  • #36A258

    #36A258

    oklch(63.3% 0.147 150.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F960F

    #7F960F

    oklch(63.3% 0.147 120.1)

  • #6883E2

    #6883E2

    oklch(63.3% 0.146 269.9)

  • #BA66B4

    #BA66B4

    oklch(63.3% 0.146 329.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F960F

    #7F960F

    oklch(63.3% 0.147 120.1)

  • #0093D8

    #0093D8

    oklch(63.3% 0.145 240.1)

  • #CF5F86

    #CF5F86

    oklch(63.3% 0.147 0.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F960F

    #7F960F

    oklch(63.3% 0.147 120.1)

  • #009BAF

    #009BAF

    oklch(63.2% 0.11 210.8)

  • #9973D5

    #9973D5

    oklch(63.4% 0.146 300.2)

  • #D46252

    #D46252

    oklch(63.2% 0.147 29.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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