#7F973B

Closest named color: Drab Green (#749551). oklch(63.8% 0.122 122.2), rgb(127, 151, 59).

Aa

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

About this color

#7F973B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.122 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab Green (#749551), ΔE 0.027 away. Black text reads best on it, at 6.39:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest nameDrab Green (#749551)
Black text6.39:1
White text3.28:1

Values

HEX#7F973B
RGBrgb(127, 151, 59)
HSLhsl(76, 44%, 41%)
OKLCHoklch(63.8% 0.122 122.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 #7F973B 3.28:1 AA large text Lc -65.6 Content text, not long reading
Black text on #7F973B 6.39:1 AA Lc 44.0 Non-text elements, placeholder text
#7F973B text on white 3.28:1 AA large text Lc 60.1 Content text, not long reading
#7F973B text on black 6.39:1 AA Lc -41.6 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D5DDC5

    oklch(88.5% 0.033 122.1)

  4. Step 300

    300

    #BAC79D

    oklch(80.9% 0.059 121.7)

  5. Step 400

    400

    #96AA66

    oklch(70.6% 0.095 122.2)

  6. Step 500

    500 (this color)

    #7F973B

    oklch(63.8% 0.122 122.2)

  7. Step 600

    600

    #667F09

    oklch(55.7% 0.133 122.5)

  8. Step 700

    700

    #556B00

    oklch(49.2% 0.12 122.6)

  9. Step 800

    800

    #465704

    oklch(42.7% 0.101 121.9)

  10. Step 900

    900

    #3A4811

    oklch(37.7% 0.079 122.7)

  11. Step 950

    950

    #222A0C

    oklch(26.9% 0.05 122.3)

Export this scale for Tailwind in the Tailwind colors tool

#7F973B 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)#9F8E310.049
Deuteranopia (no green cones)#9C8E410.050
Tritanopia (no blue cones)#8590830.100
Achromatopsia (no color)#8E8E8E0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F973B

    #7F973B

    oklch(63.8% 0.122 122.2)

  • #9A78C9

    #9A78C9

    oklch(63.8% 0.123 302.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F973B

    #7F973B

    oklch(63.8% 0.122 122.2)

  • #A6891E

    #A6891E

    oklch(63.9% 0.122 92.5)

  • #49A166

    #49A166

    oklch(63.9% 0.123 152.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F973B

    #7F973B

    oklch(63.8% 0.122 122.2)

  • #7286D5

    #7286D5

    oklch(63.9% 0.121 271.8)

  • #B66EAC

    #B66EAC

    oklch(63.7% 0.122 332.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F973B

    #7F973B

    oklch(63.8% 0.122 122.2)

  • #3C93CF

    #3C93CF

    oklch(63.8% 0.122 242.4)

  • #C76A85

    #C76A85

    oklch(63.8% 0.121 2.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F973B

    #7F973B

    oklch(63.8% 0.122 122.2)

  • #009DB3

    #009DB3

    oklch(63.9% 0.111 212.1)

  • #9A78C9

    #9A78C9

    oklch(63.8% 0.123 302.4)

  • #CB6D5B

    #CB6D5B

    oklch(63.8% 0.123 32)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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