#5FAC31#5FAC31

#5FAC31 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.0% C 0.173 H 136.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#5FAC31
RGBrgb(95, 172, 49)
HSLhsl(98, 56%, 43%)
HSVhsv(98, 72%, 67%)
CMYKcmyk(44.8%, 0%, 71.5%, 32.5%)
CIE-LABlab(63.47, -45.04, 53.06)
CIE-LCHlch(63.47, 69.59, 130.33°)
OKLaboklab(67.01% -0.1252 0.1201)
OKLCHoklch(67.01% 0.173 136.2)
XYZxyz(20.0257, 32.1585, 8.0571)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAC31 #7E31AC
analogous
#9CAC31 #5FAC31 #31AC40
triadic
#5FAC31 #315FAC #AC315F
tetradic
#5FAC31 #319CAC #7E31AC #AC4031
square
#5FAC31 #319CAC #7E31AC #AC4031
split-complementary
#5FAC31 #4031AC #AC319C
monochromatic
#2A4D16 #457C23 #5FAC31 #7DCC4E #A0DA7D

Accessibility & contrast

On white

2.83
#5FAC31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#5FAC31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAC31
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAC31#FFFFFF#000000##000000
##5FAC311.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1D
Deuteranopia (green-blind)
#A8973D
Tritanopia (blue-blind)
#5CA694
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #5fac31;
/* rgb */ color: rgb(95, 172, 49);
/* oklch */ color: oklch(67.0% 0.173 136.2);
Tailwind
colors: {
  custom: {
    50: '#93c571',
    500: '#5fac31',
    950: '#000000',
  },
}
SCSS
$custom: #5fac31;
$custom-light: #93c571;
$custom-dark: #000000;
JSON
{
  "hex": "#5fac31",
  "rgb": {
    "r": 95,
    "g": 172,
    "b": 49
  },
  "hsl": {
    "h": 97.561,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67005,
    "c": 0.17348,
    "h": 136.2
  },
  "luminance": 0.3216
}

Semantic roles & 50–950 ramp

primary
#5FAC31
secondary
#A676C3
accent
#49DFA7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAC31

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

Preview Lab → · Contrast checker → · Palette generator →

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