#5E9524#5E9524

#5E9524 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.9% C 0.153 H 132.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5E9524
RGBrgb(94, 149, 36)
HSLhsl(89, 61%, 36%)
HSVhsv(89, 76%, 58%)
CMYKcmyk(36.9%, 0%, 75.8%, 41.6%)
CIE-LABlab(56.09, -36.49, 50.47)
CIE-LCHlch(56.09, 62.28, 125.87°)
OKLaboklab(60.92% -0.103 0.1128)
OKLCHoklch(60.92% 0.153 132.4)
XYZxyz(15.6818, 24.0013, 5.4752)
Luminance0.2400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9524 #5B2495
analogous
#959424 #5E9524 #259524
triadic
#5E9524 #245E95 #95245E
tetradic
#5E9524 #249594 #5B2495 #952425
square
#5E9524 #249594 #5B2495 #952425
split-complementary
#5E9524 #242595 #942495
monochromatic
#20320C #3F6418 #5E9524 #7DC630 #9BD85C

Accessibility & contrast

On white

3.62
#5E9524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5E9524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9524
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9524#FFFFFF#000000##000000
##5E95241.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890C
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#5F8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e9524;
/* rgb */ color: rgb(94, 149, 36);
/* oklch */ color: oklch(60.9% 0.153 132.4);
Tailwind
colors: {
  custom: {
    50: '#90b467',
    500: '#5e9524',
    950: '#000000',
  },
}
SCSS
$custom: #5e9524;
$custom-light: #90b467;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9524",
  "rgb": {
    "r": 94,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 89.204,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6092,
    "c": 0.1527,
    "h": 132.4
  },
  "luminance": 0.24002
}

Semantic roles & 50–950 ramp

primary
#5E9524
secondary
#8959BC
accent
#44E492
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9524

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

Preview Lab → · Contrast checker → · Palette generator →

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