#5F9E1E#5F9E1E

#5F9E1E 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#5F9E1E
RGBrgb(95, 158, 30)
HSLhsl(90, 68%, 37%)
HSVhsv(90, 81%, 62%)
CMYKcmyk(39.9%, 0%, 81%, 38%)
CIE-LABlab(58.96, -40.38, 55.17)
CIE-LCHlch(58.96, 68.36, 126.20°)
OKLaboklab(63.27% -0.1139 0.1217)
OKLCHoklch(63.27% 0.167 133.1)
XYZxyz(17.1803, 26.9795, 5.5304)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E1E #5D1E9E
analogous
#9E9D1E #5F9E1E #1F9E1E
triadic
#5F9E1E #1E5F9E #9E1E5F
tetradic
#5F9E1E #1E9E9D #5D1E9E #9E1E1F
square
#5F9E1E #1E9E9D #5D1E9E #9E1E1F
split-complementary
#5F9E1E #1E1F9E #9D1E9E
monochromatic
#21370A #406B14 #5F9E1E #7ED128 #9CDF57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9E1E#FFFFFF#000000##000000
##5F9E1E1.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)
#9C8C2D
Tritanopia (blue-blind)
#5F9787
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e1e;
/* rgb */ color: rgb(95, 158, 30);
/* oklch */ color: oklch(63.3% 0.167 133.1);
Tailwind
colors: {
  custom: {
    50: '#92bb66',
    500: '#5f9e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e1e;
$custom-light: #92bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e1e",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 30
  },
  "hsl": {
    "h": 89.531,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63267,
    "c": 0.16667,
    "h": 133.1
  },
  "luminance": 0.2698
}

Semantic roles & 50–950 ramp

primary
#5F9E1E
secondary
#8B55C3
accent
#3DEB93
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5F9E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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