#5F9E1C#5F9E1C

#5F9E1C is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.3% C 0.168 H 133.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#5F9E1C
RGBrgb(95, 158, 28)
HSLhsl(89, 70%, 36%)
HSVhsv(89, 82%, 62%)
CMYKcmyk(39.9%, 0%, 82.3%, 38%)
CIE-LABlab(58.95, -40.47, 55.74)
CIE-LCHlch(58.95, 68.88, 125.99°)
OKLaboklab(63.26% -0.1143 0.1226)
OKLCHoklch(63.26% 0.168 133)
XYZxyz(17.1555, 26.9696, 5.4001)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E1C #5B1C9E
analogous
#9E9C1C #5F9E1C #1E9E1C
triadic
#5F9E1C #1C5F9E #9E1C5F
tetradic
#5F9E1C #1C9E9C #5B1C9E #9E1C1E
square
#5F9E1C #1C9E9C #5B1C9E #9E1C1E
split-complementary
#5F9E1C #1C1E9E #9C1C9E
monochromatic
#20360A #406A13 #5F9E1C #7ED225 #9CE154

Accessibility & contrast

On white

3.28
#5F9E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9E1C#FFFFFF#000000##000000
##5F9E1C1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#5F9787
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e1c;
/* rgb */ color: rgb(95, 158, 28);
/* oklch */ color: oklch(63.3% 0.168 133.0);
Tailwind
colors: {
  custom: {
    50: '#92bb65',
    500: '#5f9e1c',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e1c;
$custom-light: #92bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e1c",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 28
  },
  "hsl": {
    "h": 89.077,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63256,
    "c": 0.16758,
    "h": 133
  },
  "luminance": 0.2697
}

Semantic roles & 50–950 ramp

primary
#5F9E1C
secondary
#8952C4
accent
#3BED91
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5F9E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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