#5F9924#5F9924

#5F9924 is a light, vivid yellow-green. Relative luminance 0.253; OKLCH L 62.0% C 0.157 H 132.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5F9924
RGBrgb(95, 153, 36)
HSLhsl(90, 62%, 37%)
HSVhsv(90, 76%, 60%)
CMYKcmyk(37.9%, 0%, 76.5%, 40%)
CIE-LABlab(57.41, -37.89, 51.77)
CIE-LCHlch(57.41, 64.15, 126.20°)
OKLaboklab(62.01% -0.1068 0.1155)
OKLCHoklch(62.01% 0.157 132.8)
XYZxyz(16.4288, 25.3420, 5.6946)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9924 #5E2499
analogous
#999924 #5F9924 #249924
triadic
#5F9924 #245F99 #99245F
tetradic
#5F9924 #249999 #5E2499 #992424
square
#5F9924 #249999 #5E2499 #992424
split-complementary
#5F9924 #242499 #992499
monochromatic
#21360D #406718 #5F9924 #7ECB30 #9CD95E

Accessibility & contrast

On white

3.46
#5F9924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#5F9924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9924
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9924#FFFFFF#000000##000000
##5F99241.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D09
Deuteranopia (green-blind)
#988830
Tritanopia (blue-blind)
#609383
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9924;
/* rgb */ color: rgb(95, 153, 36);
/* oklch */ color: oklch(62.0% 0.157 132.8);
Tailwind
colors: {
  custom: {
    50: '#91b768',
    500: '#5f9924',
    950: '#000000',
  },
}
SCSS
$custom: #5f9924;
$custom-light: #91b768;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9924",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 89.744,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62011,
    "c": 0.15729,
    "h": 132.8
  },
  "luminance": 0.25343
}

Semantic roles & 50–950 ramp

primary
#5F9924
secondary
#8C5BBE
accent
#43E593
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9924

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

Preview Lab → · Contrast checker → · Palette generator →

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