#5FA631#5FA631

#5FA631 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.5% C 0.166 H 135.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#5FA631
RGBrgb(95, 166, 49)
HSLhsl(96, 54%, 42%)
HSVhsv(96, 70%, 65%)
CMYKcmyk(42.8%, 0%, 70.5%, 34.9%)
CIE-LABlab(61.59, -42.55, 51.12)
CIE-LCHlch(61.59, 66.52, 129.77°)
OKLaboklab(65.46% -0.1185 0.116)
OKLCHoklch(65.46% 0.166 135.6)
XYZxyz(18.9095, 29.9260, 7.6851)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA631 #7831A6
analogous
#9AA631 #5FA631 #31A63D
triadic
#5FA631 #315FA6 #A6315F
tetradic
#5FA631 #319AA6 #7831A6 #A63D31
square
#5FA631 #319AA6 #7831A6 #A63D31
split-complementary
#5FA631 #3D31A6 #A6319A
monochromatic
#294715 #447723 #5FA631 #7DCA4A #9FD87A

Accessibility & contrast

On white

3.01
#5FA631 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#5FA631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA631
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA631#FFFFFF#000000##000000
##5FA6311.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981F
Deuteranopia (green-blind)
#A2933C
Tritanopia (blue-blind)
#5DA08F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #5fa631;
/* rgb */ color: rgb(95, 166, 49);
/* oklch */ color: oklch(65.5% 0.166 135.6);
Tailwind
colors: {
  custom: {
    50: '#92c170',
    500: '#5fa631',
    950: '#000000',
  },
}
SCSS
$custom: #5fa631;
$custom-light: #92c170;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa631",
  "rgb": {
    "r": 95,
    "g": 166,
    "b": 49
  },
  "hsl": {
    "h": 96.41,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65461,
    "c": 0.16583,
    "h": 135.6
  },
  "luminance": 0.29927
}

Semantic roles & 50–950 ramp

primary
#5FA631
secondary
#A273C0
accent
#4ADEA4
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA631

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

Preview Lab → · Contrast checker → · Palette generator →

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