#5F9F1E#5F9F1E

#5F9F1E is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.5% C 0.168 H 133.3°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5F9F1E
RGBrgb(95, 159, 30)
HSLhsl(90, 68%, 37%)
HSVhsv(90, 81%, 62%)
CMYKcmyk(40.3%, 0%, 81.1%, 37.6%)
CIE-LABlab(59.27, -40.80, 55.46)
CIE-LCHlch(59.27, 68.85, 126.34°)
OKLaboklab(63.53% -0.1151 0.1223)
OKLCHoklch(63.53% 0.168 133.3)
XYZxyz(17.3515, 27.3221, 5.5875)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9F1E #5E1E9F
analogous
#9F9E1E #5F9F1E #1F9F1E
triadic
#5F9F1E #1E5F9F #9F1E5F
tetradic
#5F9F1E #1E9F9E #5E1E9F #9F1E1F
square
#5F9F1E #1E9F9E #5E1E9F #9F1E1F
split-complementary
#5F9F1E #1E1F9F #9E1E9F
monochromatic
#21380B #406C14 #5F9F1E #7ED228 #9CDF58

Accessibility & contrast

On white

3.25
#5F9F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#5F9F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9F1E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9F1E#FFFFFF#000000##000000
##5F9F1E1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D2D
Tritanopia (blue-blind)
#5F9887
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5f9f1e;
/* rgb */ color: rgb(95, 159, 30);
/* oklch */ color: oklch(63.5% 0.168 133.3);
Tailwind
colors: {
  custom: {
    50: '#92bc66',
    500: '#5f9f1e',
    950: '#000000',
  },
}
SCSS
$custom: #5f9f1e;
$custom-light: #92bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9f1e",
  "rgb": {
    "r": 95,
    "g": 159,
    "b": 30
  },
  "hsl": {
    "h": 89.767,
    "s": 68.254,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63526,
    "c": 0.1679,
    "h": 133.3
  },
  "luminance": 0.27323
}

Semantic roles & 50–950 ramp

primary
#5F9F1E
secondary
#8C56C3
accent
#3DEB93
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0E1206
muted
#7E817A

Preview Lab

Preview with #5F9F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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