#5FAA31

Closest named color: Grass (#5CAC2D). oklch(66.5% 0.171 136), rgb(95, 170, 49).

Aa

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

About this color

#5FAA31 is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.171 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grass (#5CAC2D), ΔE 0.008 away. Black text reads best on it, at 7.28:1.

Hue familyGreens
Lightnessmedium-light (66%)
Chromavivid (0.171)
Temperaturein between
Nearest nameGrass (#5CAC2D)
Black text7.28:1
White text2.88:1

Values

HEX#5FAA31
RGBrgb(95, 170, 49)
HSLhsl(97, 55%, 43%)
OKLCHoklch(66.5% 0.171 136)

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 #5FAA31 2.88:1 Fails Lc -60.1 Content text, not long reading
Black text on #5FAA31 7.28:1 AAA Lc 49.2 Large or bold text, headings
#5FAA31 text on white 2.88:1 Fails Lc 54.8 Large or bold text, headings
#5FAA31 text on black 7.28:1 AAA Lc -47.0 Large or bold text, headings

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

    #F2F7F0

    oklch(97% 0.011 136.6)

  2. Step 100

    100

    #E3EEDE

    oklch(93.6% 0.024 135.7)

  3. Step 200

    200

    #CCE1C2

    oklch(88.6% 0.047 135.5)

  4. Step 300

    300

    #A8CD98

    oklch(80.8% 0.083 136.4)

  5. Step 400

    400

    #79B35C

    oklch(70.6% 0.133 136.1)

  6. Step 500

    500 (this color)

    #5FAA31

    oklch(66.5% 0.171 136)

  7. Step 600

    600

    #408700

    oklch(55.5% 0.165 136)

  8. Step 700

    700

    #357200

    oklch(49.1% 0.146 136)

  9. Step 800

    800

    #2A5D00

    oklch(42.6% 0.127 136)

  10. Step 900

    900

    #224E01

    oklch(37.7% 0.112 136.2)

  11. Step 950

    950

    #152E06

    oklch(27.1% 0.071 136)

Export this scale for Tailwind in the Tailwind colors tool

#5FAA31 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)#B09C1D0.105
Deuteranopia (no green cones)#A6963C0.106
Tritanopia (no blue cones)#5CA4920.122
Achromatopsia (no color)#9898980.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #5FAA31

    #5FAA31

    oklch(66.5% 0.171 136)

  • #BC6ED9

    #BC6ED9

    oklch(66.5% 0.171 316.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5FAA31

    #5FAA31

    oklch(66.5% 0.171 136)

  • #A09800

    #A09800

    oklch(66.5% 0.142 105.9)

  • #00AE80

    #00AE80

    oklch(66.6% 0.138 165.9)

Open the analogous palette in the generator

Split complementary

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

  • #5FAA31

    #5FAA31

    oklch(66.5% 0.171 136)

  • #8D80F6

    #8D80F6

    oklch(66.6% 0.17 285.8)

  • #DA62AA

    #DA62AA

    oklch(66.5% 0.17 345.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5FAA31

    #5FAA31

    oklch(66.5% 0.171 136)

  • #4493FA

    #4493FA

    oklch(66.4% 0.172 256.3)

  • #E95F6F

    #E95F6F

    oklch(66.5% 0.171 16.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5FAA31

    #5FAA31

    oklch(66.5% 0.171 136)

  • #00A3CF

    #00A3CF

    oklch(66.6% 0.127 225.8)

  • #BC6ED9

    #BC6ED9

    oklch(66.5% 0.171 316.2)

  • #E56B24

    #E56B24

    oklch(66.5% 0.171 46.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5FAA31 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.