#5FA02B#5FA02B

#5FA02B is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.9% C 0.162 H 134.3°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5FA02B
RGBrgb(95, 160, 43)
HSLhsl(93, 58%, 40%)
HSVhsv(93, 73%, 63%)
CMYKcmyk(40.6%, 0%, 73.1%, 37.3%)
CIE-LABlab(59.66, -40.46, 51.46)
CIE-LCHlch(59.66, 65.46, 128.17°)
OKLaboklab(63.87% -0.1132 0.1159)
OKLCHoklch(63.87% 0.162 134.3)
XYZxyz(17.7258, 27.7480, 6.7069)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA02B #6C2BA0
analogous
#9AA02B #5FA02B #2BA031
triadic
#5FA02B #2B5FA0 #A02B5F
tetradic
#5FA02B #2B9AA0 #6C2BA0 #A0312B
square
#5FA02B #2B9AA0 #6C2BA0 #A0312B
split-complementary
#5FA02B #312BA0 #A02B9A
monochromatic
#264011 #42701E #5FA02B #7CCB3D #9DD86E

Accessibility & contrast

On white

3.21
#5FA02B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#5FA02B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA02B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA02B#FFFFFF#000000##000000
##5FA02B1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69316
Deuteranopia (green-blind)
#9D8E36
Tritanopia (blue-blind)
#5E9A89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa02b;
/* rgb */ color: rgb(95, 160, 43);
/* oklch */ color: oklch(63.9% 0.162 134.3);
Tailwind
colors: {
  custom: {
    50: '#92bc6c',
    500: '#5fa02b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa02b;
$custom-light: #92bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa02b",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 93.333,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63868,
    "c": 0.16202,
    "h": 134.3
  },
  "luminance": 0.27749
}

Semantic roles & 50–950 ramp

primary
#5FA02B
secondary
#9868BF
accent
#47E19C
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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