#5FAB2D#5FAB2D

#5FAB2D is a light, vivid yellow-green. Relative luminance 0.317; OKLCH L 66.7% C 0.175 H 135.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#5FAB2D
RGBrgb(95, 171, 45)
HSLhsl(96, 58%, 42%)
HSVhsv(96, 74%, 67%)
CMYKcmyk(44.4%, 0%, 73.7%, 32.9%)
CIE-LABlab(63.13, -44.91, 54.20)
CIE-LCHlch(63.13, 70.39, 129.65°)
OKLaboklab(66.72% -0.1251 0.1219)
OKLCHoklch(66.72% 0.175 135.8)
XYZxyz(19.7554, 31.7470, 7.5689)
Luminance0.3175 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAB2D #792DAB
analogous
#9EAB2D #5FAB2D #2DAB3A
triadic
#5FAB2D #2D5FAB #AB2D5F
tetradic
#5FAB2D #2D9EAB #792DAB #AB3A2D
square
#5FAB2D #2D9EAB #792DAB #AB3A2D
split-complementary
#5FAB2D #3A2DAB #AB2D9E
monochromatic
#294A14 #447B20 #5FAB2D #7DCE47 #9FDB77

Accessibility & contrast

On white

2.86
#5FAB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#5FAB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAB2D
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAB2D#FFFFFF#000000##000000
##5FAB2D1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D15
Deuteranopia (green-blind)
#A79639
Tritanopia (blue-blind)
#5CA593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fab2d;
/* rgb */ color: rgb(95, 171, 45);
/* oklch */ color: oklch(66.7% 0.175 135.8);
Tailwind
colors: {
  custom: {
    50: '#93c46e',
    500: '#5fab2d',
    950: '#000000',
  },
}
SCSS
$custom: #5fab2d;
$custom-light: #93c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fab2d",
  "rgb": {
    "r": 95,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 96.19,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66717,
    "c": 0.17471,
    "h": 135.8
  },
  "luminance": 0.31748
}

Semantic roles & 50–950 ramp

primary
#5FAB2D
secondary
#A271C3
accent
#46E2A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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