#5FA231#5FA231

#5FA231 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.4% C 0.161 H 135.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5FA231
RGBrgb(95, 162, 49)
HSLhsl(96, 54%, 41%)
HSVhsv(96, 70%, 64%)
CMYKcmyk(41.4%, 0%, 69.8%, 36.5%)
CIE-LABlab(60.33, -40.86, 49.82)
CIE-LCHlch(60.33, 64.43, 129.36°)
OKLaboklab(64.43% -0.1139 0.1133)
OKLCHoklch(64.43% 0.161 135.1)
XYZxyz(18.1936, 28.4943, 7.4464)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA231 #7431A2
analogous
#98A231 #5FA231 #31A23B
triadic
#5FA231 #315FA2 #A2315F
tetradic
#5FA231 #3198A2 #7431A2 #A23B31
square
#5FA231 #3198A2 #7431A2 #A23B31
split-complementary
#5FA231 #3B31A2 #A23198
monochromatic
#284415 #437323 #5FA231 #7CC848 #9ED677

Accessibility & contrast

On white

3.13
#5FA231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5FA231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA231
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA231#FFFFFF#000000##000000
##5FA2311.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#9F8F3B
Tritanopia (blue-blind)
#5D9C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5fa231;
/* rgb */ color: rgb(95, 162, 49);
/* oklch */ color: oklch(64.4% 0.161 135.1);
Tailwind
colors: {
  custom: {
    50: '#92be70',
    500: '#5fa231',
    950: '#000000',
  },
}
SCSS
$custom: #5fa231;
$custom-light: #92be70;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa231",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 95.575,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64431,
    "c": 0.16065,
    "h": 135.1
  },
  "luminance": 0.28495
}

Semantic roles & 50–950 ramp

primary
#5FA231
secondary
#9F71BE
accent
#4BDDA1
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA231

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

Preview Lab → · Contrast checker → · Palette generator →

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