#5FAA31#5FAA31

#5FAA31 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.5% C 0.171 H 136.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5FAA31
RGBrgb(95, 170, 49)
HSLhsl(97, 55%, 43%)
HSVhsv(97, 71%, 67%)
CMYKcmyk(44.1%, 0%, 71.2%, 33.3%)
CIE-LABlab(62.85, -44.22, 52.42)
CIE-LCHlch(62.85, 68.57, 130.15°)
OKLaboklab(66.49% -0.123 0.1187)
OKLCHoklch(66.49% 0.171 136)
XYZxyz(19.6479, 31.4029, 7.9312)
Luminance0.3140 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAA31 #7C31AA
analogous
#9BAA31 #5FAA31 #31AA3F
triadic
#5FAA31 #315FAA #AA315F
tetradic
#5FAA31 #319BAA #7C31AA #AA3F31
square
#5FAA31 #319BAA #7C31AA #AA3F31
split-complementary
#5FAA31 #3F31AA #AA319B
monochromatic
#2A4B16 #447A23 #5FAA31 #7DCC4D #A0D97C

Accessibility & contrast

On white

2.88
#5FAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#5FAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAA31
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAA31#FFFFFF#000000##000000
##5FAA311.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1D
Deuteranopia (green-blind)
#A6963C
Tritanopia (blue-blind)
#5CA492
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5faa31;
/* rgb */ color: rgb(95, 170, 49);
/* oklch */ color: oklch(66.5% 0.171 136.0);
Tailwind
colors: {
  custom: {
    50: '#93c470',
    500: '#5faa31',
    950: '#000000',
  },
}
SCSS
$custom: #5faa31;
$custom-light: #93c470;
$custom-dark: #000000;
JSON
{
  "hex": "#5faa31",
  "rgb": {
    "r": 95,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 97.19,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6649,
    "c": 0.17095,
    "h": 136
  },
  "luminance": 0.31404
}

Semantic roles & 50–950 ramp

primary
#5FAA31
secondary
#A575C2
accent
#49DFA6
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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