#5FAB2C#5FAB2C

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

Color values

HEX#5FAB2C
RGBrgb(95, 171, 44)
HSLhsl(96, 59%, 42%)
HSVhsv(96, 74%, 67%)
CMYKcmyk(44.4%, 0%, 74.3%, 32.9%)
CIE-LABlab(63.13, -44.98, 54.56)
CIE-LCHlch(63.13, 70.71, 129.51°)
OKLaboklab(66.71% -0.1254 0.1225)
OKLCHoklch(66.71% 0.175 135.7)
XYZxyz(19.7364, 31.7394, 7.4687)
Luminance0.3174 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAB2C #782CAB
analogous
#9EAB2C #5FAB2C #2CAB39
triadic
#5FAB2C #2C5FAB #AB2C5F
tetradic
#5FAB2C #2C9EAB #782CAB #AB392C
square
#5FAB2C #2C9EAB #782CAB #AB392C
split-complementary
#5FAB2C #392CAB #AB2C9E
monochromatic
#294A13 #447A1F #5FAB2C #7DCF45 #9FDC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAB2C#FFFFFF#000000##000000
##5FAB2C1.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)
#B19D13
Deuteranopia (green-blind)
#A79639
Tritanopia (blue-blind)
#5CA593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fab2c;
/* rgb */ color: rgb(95, 171, 44);
/* oklch */ color: oklch(66.7% 0.175 135.7);
Tailwind
colors: {
  custom: {
    50: '#93c46e',
    500: '#5fab2c',
    950: '#000000',
  },
}
SCSS
$custom: #5fab2c;
$custom-light: #93c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#5fab2c",
  "rgb": {
    "r": 95,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 95.906,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6671,
    "c": 0.1753,
    "h": 135.7
  },
  "luminance": 0.31741
}

Semantic roles & 50–950 ramp

primary
#5FAB2C
secondary
#A26FC3
accent
#46E2A3
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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