#5FA82B#5FA82B

#5FA82B is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 65.9% C 0.172 H 135.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5FA82B
RGBrgb(95, 168, 43)
HSLhsl(95, 59%, 41%)
HSVhsv(95, 74%, 66%)
CMYKcmyk(43.5%, 0%, 74.4%, 34.1%)
CIE-LABlab(62.18, -43.82, 53.97)
CIE-LCHlch(62.18, 69.52, 129.07°)
OKLaboklab(65.93% -0.1223 0.1211)
OKLCHoklch(65.93% 0.172 135.3)
XYZxyz(19.1576, 30.6115, 7.1842)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA82B #742BA8
analogous
#9EA82B #5FA82B #2BA836
triadic
#5FA82B #2B5FA8 #A82B5F
tetradic
#5FA82B #2B9EA8 #742BA8 #A8362B
square
#5FA82B #2B9EA8 #742BA8 #A8362B
split-complementary
#5FA82B #362BA8 #A82B9E
monochromatic
#284712 #43771F #5FA82B #7CCF42 #9EDB72

Accessibility & contrast

On white

2.95
#5FA82B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#5FA82B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA82B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA82B#FFFFFF#000000##000000
##5FA82B1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A12
Deuteranopia (green-blind)
#A49437
Tritanopia (blue-blind)
#5DA290
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5fa82b;
/* rgb */ color: rgb(95, 168, 43);
/* oklch */ color: oklch(65.9% 0.172 135.3);
Tailwind
colors: {
  custom: {
    50: '#93c26d',
    500: '#5fa82b',
    950: '#000000',
  },
}
SCSS
$custom: #5fa82b;
$custom-light: #93c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa82b",
  "rgb": {
    "r": 95,
    "g": 168,
    "b": 43
  },
  "hsl": {
    "h": 95.04,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6593,
    "c": 0.17215,
    "h": 135.3
  },
  "luminance": 0.30613
}

Semantic roles & 50–950 ramp

primary
#5FA82B
secondary
#9F6CC2
accent
#45E2A1
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA82B

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

Preview Lab → · Contrast checker → · Palette generator →

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