#5FA235#5FA235

#5FA235 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.5% C 0.158 H 135.6°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5FA235
RGBrgb(95, 162, 53)
HSLhsl(97, 51%, 42%)
HSVhsv(97, 67%, 64%)
CMYKcmyk(41.4%, 0%, 67.3%, 36.5%)
CIE-LABlab(60.36, -40.53, 48.21)
CIE-LCHlch(60.36, 62.98, 130.06°)
OKLaboklab(64.47% -0.1127 0.1104)
OKLCHoklch(64.47% 0.158 135.6)
XYZxyz(18.2818, 28.5296, 7.9109)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA235 #7835A2
analogous
#96A235 #5FA235 #35A242
triadic
#5FA235 #355FA2 #A2355F
tetradic
#5FA235 #3596A2 #7835A2 #A24235
square
#5FA235 #3596A2 #7835A2 #A24235
split-complementary
#5FA235 #4235A2 #A23596
monochromatic
#294617 #447426 #5FA235 #7DC54F #9FD47D

Accessibility & contrast

On white

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

On black

6.71
#5FA235 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA235
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA235#FFFFFF#000000##000000
##5FA2351.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89526
Deuteranopia (green-blind)
#9F8F3E
Tritanopia (blue-blind)
#5D9C8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #5fa235;
/* rgb */ color: rgb(95, 162, 53);
/* oklch */ color: oklch(64.5% 0.158 135.6);
Tailwind
colors: {
  custom: {
    50: '#92be72',
    500: '#5fa235',
    950: '#000000',
  },
}
SCSS
$custom: #5fa235;
$custom-light: #92be72;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa235",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 53
  },
  "hsl": {
    "h": 96.881,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64467,
    "c": 0.15778,
    "h": 135.6
  },
  "luminance": 0.28531
}

Semantic roles & 50–950 ramp

primary
#5FA235
secondary
#A275BD
accent
#4EDAA4
background
#F9FBF7
surface
#F2F7ED
border
#CCD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5FA235

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

Preview Lab → · Contrast checker → · Palette generator →

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