#5FAB28#5FAB28

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

Color values

HEX#5FAB28
RGBrgb(95, 171, 40)
HSLhsl(95, 62%, 41%)
HSVhsv(95, 77%, 67%)
CMYKcmyk(44.4%, 0%, 76.6%, 32.9%)
CIE-LABlab(63.10, -45.24, 55.92)
CIE-LCHlch(63.10, 71.92, 128.97°)
OKLaboklab(66.68% -0.1264 0.1248)
OKLCHoklch(66.68% 0.178 135.4)
XYZxyz(19.6648, 31.7108, 7.0917)
Luminance0.3171 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAB28 #7428AB
analogous
#A1AB28 #5FAB28 #28AB33
triadic
#5FAB28 #285FAB #AB285F
tetradic
#5FAB28 #28A1AB #7428AB #AB3328
square
#5FAB28 #28A1AB #7428AB #AB3328
split-complementary
#5FAB28 #3328AB #AB28A1
monochromatic
#284811 #43791C #5FAB28 #7CD23E #9EDE70

Accessibility & contrast

On white

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

On black

7.34
#5FAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAB28
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAB28#FFFFFF#000000##000000
##5FAB281.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D08
Deuteranopia (green-blind)
#A79636
Tritanopia (blue-blind)
#5DA492
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fab28;
/* rgb */ color: rgb(95, 171, 40);
/* oklch */ color: oklch(66.7% 0.178 135.4);
Tailwind
colors: {
  custom: {
    50: '#93c46c',
    500: '#5fab28',
    950: '#000000',
  },
}
SCSS
$custom: #5fab28;
$custom-light: #93c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fab28",
  "rgb": {
    "r": 95,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 94.809,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66683,
    "c": 0.17757,
    "h": 135.4
  },
  "luminance": 0.31712
}

Semantic roles & 50–950 ramp

primary
#5FAB28
secondary
#9F6AC4
accent
#43E5A1
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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