#5FAF27#5FAF27

#5FAF27 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 67.7% C 0.183 H 135.7°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5FAF27
RGBrgb(95, 175, 39)
HSLhsl(95, 64%, 42%)
HSVhsv(95, 78%, 69%)
CMYKcmyk(45.7%, 0%, 77.7%, 31.4%)
CIE-LABlab(64.35, -46.91, 57.44)
CIE-LCHlch(64.35, 74.17, 129.24°)
OKLaboklab(67.71% -0.1309 0.1278)
OKLCHoklch(67.71% 0.183 135.7)
XYZxyz(20.4150, 33.2381, 7.2589)
Luminance0.3324 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF27 #7727AF
analogous
#A3AF27 #5FAF27 #27AF33
triadic
#5FAF27 #275FAF #AF275F
tetradic
#5FAF27 #27A3AF #7727AF #AF3327
square
#5FAF27 #27A3AF #7727AF #AF3327
split-complementary
#5FAF27 #3327AF #AF27A3
monochromatic
#294B11 #447D1C #5FAF27 #7CD43F #9EDF71

Accessibility & contrast

On white

2.75
#5FAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#5FAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF27
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF27#FFFFFF#000000##000000
##5FAF271.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf27;
/* rgb */ color: rgb(95, 175, 39);
/* oklch */ color: oklch(67.7% 0.183 135.7);
Tailwind
colors: {
  custom: {
    50: '#94c76c',
    500: '#5faf27',
    950: '#000000',
  },
}
SCSS
$custom: #5faf27;
$custom-light: #94c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf27",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 95.294,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67707,
    "c": 0.18296,
    "h": 135.7
  },
  "luminance": 0.33239
}

Semantic roles & 50–950 ramp

primary
#5FAF27
secondary
#A16BC6
accent
#41E7A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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