#5F9524#5F9524

#5F9524 is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.0% C 0.152 H 132.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5F9524
RGBrgb(95, 149, 36)
HSLhsl(89, 61%, 36%)
HSVhsv(89, 76%, 58%)
CMYKcmyk(36.2%, 0%, 75.8%, 41.6%)
CIE-LABlab(56.14, -36.12, 50.54)
CIE-LCHlch(56.14, 62.12, 125.55°)
OKLaboklab(60.98% -0.102 0.1129)
OKLCHoklch(60.98% 0.152 132.1)
XYZxyz(15.7850, 24.0545, 5.4800)
Luminance0.2406 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9524 #5A2495
analogous
#959324 #5F9524 #269524
triadic
#5F9524 #245F95 #95245F
tetradic
#5F9524 #249593 #5A2495 #952426
square
#5F9524 #249593 #5A2495 #952426
split-complementary
#5F9524 #242695 #932495
monochromatic
#20320C #406418 #5F9524 #7EC630 #9CD85C

Accessibility & contrast

On white

3.61
#5F9524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5F9524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9524
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9524#FFFFFF#000000##000000
##5F95241.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C890C
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#608F7F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9524;
/* rgb */ color: rgb(95, 149, 36);
/* oklch */ color: oklch(61.0% 0.152 132.1);
Tailwind
colors: {
  custom: {
    50: '#91b467',
    500: '#5f9524',
    950: '#000000',
  },
}
SCSS
$custom: #5f9524;
$custom-light: #91b467;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9524",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 88.673,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60977,
    "c": 0.15217,
    "h": 132.1
  },
  "luminance": 0.24055
}

Semantic roles & 50–950 ramp

primary
#5F9524
secondary
#8859BC
accent
#44E490
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9524

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

Preview Lab → · Contrast checker → · Palette generator →

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