#5F9E24#5F9E24

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

Color values

HEX#5F9E24
RGBrgb(95, 158, 36)
HSLhsl(91, 63%, 38%)
HSVhsv(91, 77%, 62%)
CMYKcmyk(39.9%, 0%, 77.2%, 38%)
CIE-LABlab(58.99, -40.05, 53.29)
CIE-LCHlch(58.99, 66.67, 126.93°)
OKLaboklab(63.3% -0.1126 0.1187)
OKLCHoklch(63.3% 0.164 133.5)
XYZxyz(17.2643, 27.0131, 5.9731)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E24 #63249E
analogous
#9C9E24 #5F9E24 #249E26
triadic
#5F9E24 #245F9E #9E245F
tetradic
#5F9E24 #249C9E #63249E #9E2624
square
#5F9E24 #249C9E #63249E #9E2624
split-complementary
#5F9E24 #26249E #9E249C
monochromatic
#233A0D #416C19 #5F9E24 #7DD02F #9CDB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9E24#FFFFFF#000000##000000
##5F9E241.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)
#A49105
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#5F9887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e24;
/* rgb */ color: rgb(95, 158, 36);
/* oklch */ color: oklch(63.3% 0.164 133.5);
Tailwind
colors: {
  custom: {
    50: '#92bb68',
    500: '#5f9e24',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e24;
$custom-light: #92bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e24",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 36
  },
  "hsl": {
    "h": 90.984,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63302,
    "c": 0.16361,
    "h": 133.5
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

primary
#5F9E24
secondary
#915EC0
accent
#42E697
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9E24

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

Preview Lab → · Contrast checker → · Palette generator →

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