#5E9520#5E9520

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

Color values

HEX#5E9520
RGBrgb(94, 149, 32)
HSLhsl(88, 65%, 35%)
HSVhsv(88, 79%, 58%)
CMYKcmyk(36.9%, 0%, 78.5%, 41.6%)
CIE-LABlab(56.07, -36.73, 51.82)
CIE-LCHlch(56.07, 63.52, 125.33°)
OKLaboklab(60.89% -0.1039 0.115)
OKLCHoklch(60.89% 0.155 132.1)
XYZxyz(15.6241, 23.9782, 5.1713)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9520 #572095
analogous
#959120 #5E9520 #239520
triadic
#5E9520 #205E95 #95205E
tetradic
#5E9520 #209591 #572095 #952023
square
#5E9520 #209591 #572095 #952023
split-complementary
#5E9520 #202395 #912095
monochromatic
#1E300A #3E6315 #5E9520 #7EC72B #9CDA55

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E9520#FFFFFF#000000##000000
##5E95201.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)
#9C8901
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#5F8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e9520;
/* rgb */ color: rgb(94, 149, 32);
/* oklch */ color: oklch(60.9% 0.155 132.1);
Tailwind
colors: {
  custom: {
    50: '#91b465',
    500: '#5e9520',
    950: '#000000',
  },
}
SCSS
$custom: #5e9520;
$custom-light: #91b465;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9520",
  "rgb": {
    "r": 94,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 88.205,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60893,
    "c": 0.15496,
    "h": 132.1
  },
  "luminance": 0.23979
}

Semantic roles & 50–950 ramp

primary
#5E9520
secondary
#8553BE
accent
#40E88F
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9520

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

Preview Lab → · Contrast checker → · Palette generator →

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