#5FAB27#5FAB27

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

Color values

HEX#5FAB27
RGBrgb(95, 171, 39)
HSLhsl(95, 63%, 41%)
HSVhsv(95, 77%, 67%)
CMYKcmyk(44.4%, 0%, 77.2%, 32.9%)
CIE-LABlab(63.10, -45.30, 56.24)
CIE-LCHlch(63.10, 72.22, 128.85°)
OKLaboklab(66.68% -0.1266 0.1253)
OKLCHoklch(66.68% 0.178 135.3)
XYZxyz(19.6480, 31.7040, 7.0033)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAB27 #7327AB
analogous
#A1AB27 #5FAB27 #27AB31
triadic
#5FAB27 #275FAB #AB275F
tetradic
#5FAB27 #27A1AB #7327AB #AB3127
square
#5FAB27 #27A1AB #7327AB #AB3127
split-complementary
#5FAB27 #3127AB #AB27A1
monochromatic
#284710 #43791C #5FAB27 #7CD33D #9EDE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAB27#FFFFFF#000000##000000
##5FAB271.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)
#B19D04
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#5DA492
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fab27;
/* rgb */ color: rgb(95, 171, 39);
/* oklch */ color: oklch(66.7% 0.178 135.3);
Tailwind
colors: {
  custom: {
    50: '#93c46c',
    500: '#5fab27',
    950: '#000000',
  },
}
SCSS
$custom: #5fab27;
$custom-light: #93c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fab27",
  "rgb": {
    "r": 95,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 94.545,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66676,
    "c": 0.17811,
    "h": 135.3
  },
  "luminance": 0.31705
}

Semantic roles & 50–950 ramp

primary
#5FAB27
secondary
#9E69C5
accent
#42E6A0
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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