#5FA431#5FA431

#5FA431 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.163 H 135.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5FA431
RGBrgb(95, 164, 49)
HSLhsl(96, 54%, 42%)
HSVhsv(96, 70%, 64%)
CMYKcmyk(42.1%, 0%, 70.1%, 35.7%)
CIE-LABlab(60.96, -41.71, 50.47)
CIE-LCHlch(60.96, 65.48, 129.57°)
OKLaboklab(64.95% -0.1162 0.1147)
OKLCHoklch(64.95% 0.163 135.4)
XYZxyz(18.5487, 29.2045, 7.5648)
Luminance0.2921 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA431 #7631A4
analogous
#99A431 #5FA431 #31A43D
triadic
#5FA431 #315FA4 #A4315F
tetradic
#5FA431 #3199A4 #7631A4 #A43D31
square
#5FA431 #3199A4 #7631A4 #A43D31
split-complementary
#5FA431 #3D31A4 #A43199
monochromatic
#284615 #447523 #5FA431 #7CC949 #9ED779

Accessibility & contrast

On white

3.07
#5FA431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#5FA431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA431
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA431#FFFFFF#000000##000000
##5FA4311.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971F
Deuteranopia (green-blind)
#A1913B
Tritanopia (blue-blind)
#5D9E8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5fa431;
/* rgb */ color: rgb(95, 164, 49);
/* oklch */ color: oklch(64.9% 0.163 135.4);
Tailwind
colors: {
  custom: {
    50: '#92bf70',
    500: '#5fa431',
    950: '#000000',
  },
}
SCSS
$custom: #5fa431;
$custom-light: #92bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa431",
  "rgb": {
    "r": 95,
    "g": 164,
    "b": 49
  },
  "hsl": {
    "h": 96,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.16325,
    "h": 135.4
  },
  "luminance": 0.29206
}

Semantic roles & 50–950 ramp

primary
#5FA431
secondary
#A072BF
accent
#4ADDA3
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA431

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5FA431 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva