#5FAE31#5FAE31

#5FAE31 is a light, vivid yellow-green. Relative luminance 0.329; OKLCH L 67.5% C 0.176 H 136.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#5FAE31
RGBrgb(95, 174, 49)
HSLhsl(98, 56%, 44%)
HSVhsv(98, 72%, 68%)
CMYKcmyk(45.4%, 0%, 71.8%, 31.8%)
CIE-LABlab(64.10, -45.85, 53.70)
CIE-LCHlch(64.10, 70.61, 130.49°)
OKLaboklab(67.52% -0.1274 0.1214)
OKLCHoklch(67.52% 0.176 136.4)
XYZxyz(20.4092, 32.9255, 8.1850)
Luminance0.3293 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAE31 #8031AE
analogous
#9DAE31 #5FAE31 #31AE41
triadic
#5FAE31 #315FAE #AE315F
tetradic
#5FAE31 #319DAE #8031AE #AE4131
square
#5FAE31 #319DAE #8031AE #AE4131
split-complementary
#5FAE31 #4131AE #AE319D
monochromatic
#2B4E16 #457E24 #5FAE31 #7DCD4F #A1DB7F

Accessibility & contrast

On white

2.77
#5FAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#5FAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAE31
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAE31#FFFFFF#000000##000000
##5FAE311.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F1C
Deuteranopia (green-blind)
#A9993D
Tritanopia (blue-blind)
#5BA895
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #5fae31;
/* rgb */ color: rgb(95, 174, 49);
/* oklch */ color: oklch(67.5% 0.176 136.4);
Tailwind
colors: {
  custom: {
    50: '#93c771',
    500: '#5fae31',
    950: '#000000',
  },
}
SCSS
$custom: #5fae31;
$custom-light: #93c771;
$custom-dark: #000000;
JSON
{
  "hex": "#5fae31",
  "rgb": {
    "r": 95,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 97.92,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67519,
    "c": 0.176,
    "h": 136.4
  },
  "luminance": 0.32927
}

Semantic roles & 50–950 ramp

primary
#5FAE31
secondary
#A877C4
accent
#48DFA8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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