#7F9A40

Closest named color: Flat Green (#699D4C). oklch(64.6% 0.121 123.8), rgb(127, 154, 64).

Aa

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

About this color

#7F9A40 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 65%, its chroma 0.121 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Flat Green (#699D4C), ΔE 0.026 away. Black text reads best on it, at 6.59:1.

Hue familyYellows
Lightnessmedium-light (65%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameFlat Green (#699D4C)
Black text6.59:1
White text3.18:1

Values

HEX#7F9A40
RGBrgb(127, 154, 64)
HSLhsl(78, 41%, 43%)
OKLCHoklch(64.6% 0.121 123.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 #7F9A40 3.18:1 AA large text Lc -64.3 Content text, not long reading
Black text on #7F9A40 6.59:1 AA Lc 45.2 Large or bold text, headings
#7F9A40 text on white 3.18:1 AA large text Lc 58.9 Large or bold text, headings
#7F9A40 text on black 6.59:1 AA Lc -42.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 500.

  1. Step 50

    50

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D4DDC6

    oklch(88.4% 0.032 124.5)

  4. Step 300

    300

    #B9C89E

    oklch(81% 0.059 123.7)

  5. Step 400

    400

    #94AB67

    oklch(70.7% 0.096 124.1)

  6. Step 500

    500 (this color)

    #7F9A40

    oklch(64.6% 0.121 123.8)

  7. Step 600

    600

    #647F10

    oklch(55.5% 0.132 123.6)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #445807

    oklch(42.8% 0.102 123.8)

  10. Step 900

    900

    #394812

    oklch(37.6% 0.079 123.6)

  11. Step 950

    950

    #212A0D

    oklch(26.8% 0.049 124.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F9A40 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)#A291370.052
Deuteranopia (no green cones)#9F90460.054
Tritanopia (no blue cones)#8493860.099
Achromatopsia (no color)#9090900.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F9A40

    #7F9A40

    oklch(64.6% 0.121 123.8)

  • #9E7ACA

    #9E7ACA

    oklch(64.6% 0.122 303.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F9A40

    #7F9A40

    oklch(64.6% 0.121 123.8)

  • #A78C23

    #A78C23

    oklch(64.7% 0.121 93.6)

  • #49A36B

    #49A36B

    oklch(64.6% 0.121 153.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F9A40

    #7F9A40

    oklch(64.6% 0.121 123.8)

  • #7787D7

    #7787D7

    oklch(64.5% 0.121 274)

  • #BA70AD

    #BA70AD

    oklch(64.6% 0.122 333.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F9A40

    #7F9A40

    oklch(64.6% 0.121 123.8)

  • #4395D2

    #4395D2

    oklch(64.6% 0.121 243.9)

  • #CA6C86

    #CA6C86

    oklch(64.6% 0.122 3.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F9A40

    #7F9A40

    oklch(64.6% 0.121 123.8)

  • #009FB8

    #009FB8

    oklch(64.6% 0.114 214.1)

  • #9E7ACA

    #9E7ACA

    oklch(64.6% 0.122 303.9)

  • #CD705B

    #CD705B

    oklch(64.6% 0.122 33.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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