#5F9E2C#5F9E2C

#5F9E2C is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.4% C 0.159 H 134.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#5F9E2C
RGBrgb(95, 158, 44)
HSLhsl(93, 56%, 40%)
HSVhsv(93, 72%, 62%)
CMYKcmyk(39.9%, 0%, 72.2%, 38%)
CIE-LABlab(59.04, -39.53, 50.45)
CIE-LCHlch(59.04, 64.09, 128.08°)
OKLaboklab(63.36% -0.1106 0.1139)
OKLCHoklch(63.36% 0.159 134.2)
XYZxyz(17.4005, 27.0676, 6.6901)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E2C #6B2C9E
analogous
#989E2C #5F9E2C #2C9E32
triadic
#5F9E2C #2C5F9E #9E2C5F
tetradic
#5F9E2C #2C989E #6B2C9E #9E322C
square
#5F9E2C #2C989E #6B2C9E #9E322C
split-complementary
#5F9E2C #322C9E #9E2C98
monochromatic
#253E11 #426E1F #5F9E2C #7CC93E #9DD76E

Accessibility & contrast

On white

3.27
#5F9E2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#5F9E2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9E2C
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9E2C#FFFFFF#000000##000000
##5F9E2C1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49119
Deuteranopia (green-blind)
#9C8C37
Tritanopia (blue-blind)
#5E9888
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e2c;
/* rgb */ color: rgb(95, 158, 44);
/* oklch */ color: oklch(63.4% 0.159 134.2);
Tailwind
colors: {
  custom: {
    50: '#92bb6c',
    500: '#5f9e2c',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e2c;
$custom-light: #92bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e2c",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 44
  },
  "hsl": {
    "h": 93.158,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6336,
    "c": 0.1588,
    "h": 134.2
  },
  "luminance": 0.27068
}

Semantic roles & 50–950 ramp

primary
#5F9E2C
secondary
#9768BE
accent
#48E09C
background
#F9FBF6
surface
#F2F6EC
border
#CCD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9E2C

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

Preview Lab → · Contrast checker → · Palette generator →

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