#5F9B24#5F9B24

#5F9B24 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.5% C 0.160 H 133.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5F9B24
RGBrgb(95, 155, 36)
HSLhsl(90, 62%, 37%)
HSVhsv(90, 77%, 61%)
CMYKcmyk(38.7%, 0%, 76.8%, 39.2%)
CIE-LABlab(58.04, -38.76, 52.38)
CIE-LCHlch(58.04, 65.16, 126.50°)
OKLaboklab(62.53% -0.1091 0.1168)
OKLCHoklch(62.53% 0.16 133.1)
XYZxyz(16.7588, 26.0022, 5.8046)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9B24 #60249B
analogous
#9B9B24 #5F9B24 #249B24
triadic
#5F9B24 #245F9B #9B245F
tetradic
#5F9B24 #249B9B #60249B #9B2424
square
#5F9B24 #249B9B #60249B #9B2424
split-complementary
#5F9B24 #24249B #9B249B
monochromatic
#22380D #416918 #5F9B24 #7DCD30 #9CDA5F

Accessibility & contrast

On white

3.39
#5F9B24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5F9B24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9B24
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9B24#FFFFFF#000000##000000
##5F9B241.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E08
Deuteranopia (green-blind)
#998A30
Tritanopia (blue-blind)
#5F9584
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f9b24;
/* rgb */ color: rgb(95, 155, 36);
/* oklch */ color: oklch(62.5% 0.160 133.1);
Tailwind
colors: {
  custom: {
    50: '#92b968',
    500: '#5f9b24',
    950: '#000000',
  },
}
SCSS
$custom: #5f9b24;
$custom-light: #92b968;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9b24",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 36
  },
  "hsl": {
    "h": 90.252,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62527,
    "c": 0.15983,
    "h": 133.1
  },
  "luminance": 0.26003
}

Semantic roles & 50–950 ramp

primary
#5F9B24
secondary
#8E5CBF
accent
#42E595
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9B24

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

Preview Lab → · Contrast checker → · Palette generator →

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