#5F9E15#5F9E15

#5F9E15 is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.2% C 0.170 H 132.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5F9E15
RGBrgb(95, 158, 21)
HSLhsl(88, 77%, 35%)
HSVhsv(88, 87%, 62%)
CMYKcmyk(39.9%, 0%, 86.7%, 38%)
CIE-LABlab(58.92, -40.76, 57.51)
CIE-LCHlch(58.92, 70.49, 125.33°)
OKLaboklab(63.22% -0.1155 0.1253)
OKLCHoklch(63.22% 0.17 132.7)
XYZxyz(17.0813, 26.9399, 5.0092)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E15 #54159E
analogous
#9E9815 #5F9E15 #1B9E15
triadic
#5F9E15 #155F9E #9E155F
tetradic
#5F9E15 #159E98 #54159E #9E151B
square
#5F9E15 #159E98 #54159E #9E151B
split-complementary
#5F9E15 #151B9E #98159E
monochromatic
#1E3207 #3F680E #5F9E15 #7FD41C #9DE747

Accessibility & contrast

On white

3.29
#5F9E15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#5F9E15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9E15
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9E15#FFFFFF#000000##000000
##5F9E151.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C27
Tritanopia (blue-blind)
#609786
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e15;
/* rgb */ color: rgb(95, 158, 21);
/* oklch */ color: oklch(63.2% 0.170 132.7);
Tailwind
colors: {
  custom: {
    50: '#92bb62',
    500: '#5f9e15',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e15;
$custom-light: #92bb62;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e15",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 21
  },
  "hsl": {
    "h": 87.591,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63225,
    "c": 0.17036,
    "h": 132.7
  },
  "luminance": 0.26941
}

Semantic roles & 50–950 ramp

primary
#5F9E15
secondary
#8247C7
accent
#35F38C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5F9E15

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

Preview Lab → · Contrast checker → · Palette generator →

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