#5F9E1D#5F9E1D

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

Color values

HEX#5F9E1D
RGBrgb(95, 158, 29)
HSLhsl(89, 69%, 37%)
HSVhsv(89, 82%, 62%)
CMYKcmyk(39.9%, 0%, 81.6%, 38%)
CIE-LABlab(58.95, -40.43, 55.45)
CIE-LCHlch(58.95, 68.63, 126.09°)
OKLaboklab(63.26% -0.1141 0.1221)
OKLCHoklch(63.26% 0.167 133.1)
XYZxyz(17.1677, 26.9745, 5.4642)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E1D #5C1D9E
analogous
#9E9D1D #5F9E1D #1F9E1D
triadic
#5F9E1D #1D5F9E #9E1D5F
tetradic
#5F9E1D #1D9E9D #5C1D9E #9E1D1F
square
#5F9E1D #1D9E9D #5C1D9E #9E1D1F
split-complementary
#5F9E1D #1D1F9E #9D1D9E
monochromatic
#21370A #406A14 #5F9E1D #7ED226 #9CE056

Accessibility & contrast

On white

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

On black

6.40
#5F9E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9E1D
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9E1D#FFFFFF#000000##000000
##5F9E1D1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f9e1d;
/* rgb */ color: rgb(95, 158, 29);
/* oklch */ color: oklch(63.3% 0.167 133.1);
Tailwind
colors: {
  custom: {
    50: '#92bb65',
    500: '#5f9e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e1d;
$custom-light: #92bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e1d",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 29
  },
  "hsl": {
    "h": 89.302,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63262,
    "c": 0.16713,
    "h": 133.1
  },
  "luminance": 0.26975
}

Semantic roles & 50–950 ramp

primary
#5F9E1D
secondary
#8A54C3
accent
#3CEC92
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5F9E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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