#5FAB2E#5FAB2E

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

Color values

HEX#5FAB2E
RGBrgb(95, 171, 46)
HSLhsl(96, 58%, 43%)
HSVhsv(96, 73%, 67%)
CMYKcmyk(44.4%, 0%, 73.1%, 32.9%)
CIE-LABlab(63.14, -44.84, 53.84)
CIE-LCHlch(63.14, 70.07, 129.79°)
OKLaboklab(66.72% -0.1249 0.1213)
OKLCHoklch(66.72% 0.174 135.8)
XYZxyz(19.7749, 31.7548, 7.6715)
Luminance0.3176 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAB2E #7A2EAB
analogous
#9EAB2E #5FAB2E #2EAB3B
triadic
#5FAB2E #2E5FAB #AB2E5F
tetradic
#5FAB2E #2E9EAB #7A2EAB #AB3B2E
square
#5FAB2E #2E9EAB #7A2EAB #AB3B2E
split-complementary
#5FAB2E #3B2EAB #AB2E9E
monochromatic
#294B14 #447B21 #5FAB2E #7DCE48 #9FDB79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAB2E#FFFFFF#000000##000000
##5FAB2E1.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)
#B19D17
Deuteranopia (green-blind)
#A7963A
Tritanopia (blue-blind)
#5CA593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fab2e;
/* rgb */ color: rgb(95, 171, 46);
/* oklch */ color: oklch(66.7% 0.174 135.8);
Tailwind
colors: {
  custom: {
    50: '#93c46f',
    500: '#5fab2e',
    950: '#000000',
  },
}
SCSS
$custom: #5fab2e;
$custom-light: #93c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#5fab2e",
  "rgb": {
    "r": 95,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 96.48,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66725,
    "c": 0.1741,
    "h": 135.8
  },
  "luminance": 0.31756
}

Semantic roles & 50–950 ramp

primary
#5FAB2E
secondary
#A372C3
accent
#47E1A5
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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