#5E9521#5E9521

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

Color values

HEX#5E9521
RGBrgb(94, 149, 33)
HSLhsl(88, 64%, 36%)
HSVhsv(88, 78%, 58%)
CMYKcmyk(36.9%, 0%, 77.9%, 41.6%)
CIE-LABlab(56.07, -36.67, 51.50)
CIE-LCHlch(56.07, 63.22, 125.46°)
OKLaboklab(60.9% -0.1037 0.1145)
OKLCHoklch(60.9% 0.154 132.2)
XYZxyz(15.6379, 23.9837, 5.2439)
Luminance0.2398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9521 #582195
analogous
#959221 #5E9521 #249521
triadic
#5E9521 #215E95 #95215E
tetradic
#5E9521 #219592 #582195 #952124
square
#5E9521 #219592 #582195 #952124
split-complementary
#5E9521 #212495 #922195
monochromatic
#1F310B #3E6316 #5E9521 #7EC72C #9CDA57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E9521#FFFFFF#000000##000000
##5E95211.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)
#9C8904
Deuteranopia (green-blind)
#94852D
Tritanopia (blue-blind)
#5F8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e9521;
/* rgb */ color: rgb(94, 149, 33);
/* oklch */ color: oklch(60.9% 0.154 132.2);
Tailwind
colors: {
  custom: {
    50: '#90b466',
    500: '#5e9521',
    950: '#000000',
  },
}
SCSS
$custom: #5e9521;
$custom-light: #90b466;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9521",
  "rgb": {
    "r": 94,
    "g": 149,
    "b": 33
  },
  "hsl": {
    "h": 88.448,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.609,
    "c": 0.15442,
    "h": 132.2
  },
  "luminance": 0.23984
}

Semantic roles & 50–950 ramp

primary
#5E9521
secondary
#8654BE
accent
#41E790
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9521

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

Preview Lab → · Contrast checker → · Palette generator →

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