#5FA831#5FA831

#5FA831 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.0% C 0.168 H 135.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5FA831
RGBrgb(95, 168, 49)
HSLhsl(97, 55%, 43%)
HSVhsv(97, 71%, 66%)
CMYKcmyk(43.5%, 0%, 70.8%, 34.1%)
CIE-LABlab(62.22, -43.39, 51.77)
CIE-LCHlch(62.22, 67.55, 129.97°)
OKLaboklab(65.98% -0.1207 0.1174)
OKLCHoklch(65.98% 0.168 135.8)
XYZxyz(19.2758, 30.6588, 7.8072)
Luminance0.3066 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA831 #7A31A8
analogous
#9AA831 #5FA831 #31A83F
triadic
#5FA831 #315FA8 #A8315F
tetradic
#5FA831 #319AA8 #7A31A8 #A83F31
square
#5FA831 #319AA8 #7A31A8 #A83F31
split-complementary
#5FA831 #3F31A8 #A8319A
monochromatic
#294915 #447923 #5FA831 #7DCB4C #9FD87B

Accessibility & contrast

On white

2.94
#5FA831 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#5FA831 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA831
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA831#FFFFFF#000000##000000
##5FA8311.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1E
Deuteranopia (green-blind)
#A4943C
Tritanopia (blue-blind)
#5CA290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa831;
/* rgb */ color: rgb(95, 168, 49);
/* oklch */ color: oklch(66.0% 0.168 135.8);
Tailwind
colors: {
  custom: {
    50: '#92c270',
    500: '#5fa831',
    950: '#000000',
  },
}
SCSS
$custom: #5fa831;
$custom-light: #92c270;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa831",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 49
  },
  "hsl": {
    "h": 96.807,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.65976,
    "c": 0.1684,
    "h": 135.8
  },
  "luminance": 0.3066
}

Semantic roles & 50–950 ramp

primary
#5FA831
secondary
#A374C1
accent
#4ADEA5
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1208
muted
#7E817B

Preview Lab

Preview with #5FA831

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

Preview Lab → · Contrast checker → · Palette generator →

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