#5E8921#5E8921

#5E8921 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.8% C 0.139 H 129.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5E8921
RGBrgb(94, 137, 33)
HSLhsl(85, 61%, 33%)
HSVhsv(85, 76%, 54%)
CMYKcmyk(31.4%, 0%, 75.9%, 46.3%)
CIE-LABlab(52.26, -31.22, 47.82)
CIE-LCHlch(52.26, 57.11, 123.14°)
OKLaboklab(57.79% -0.0889 0.1068)
OKLCHoklch(57.79% 0.139 129.8)
XYZxyz(13.8362, 20.3804, 4.6434)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8921 #4C2189
analogous
#898021 #5E8921 #2A8921
triadic
#5E8921 #215E89 #89215E
tetradic
#5E8921 #218980 #4C2189 #89212A
square
#5E8921 #218980 #4C2189 #89212A
split-complementary
#5E8921 #212A89 #802189
monochromatic
#1A2609 #3C5815 #5E8921 #80BA2D #9ED550

Accessibility & contrast

On white

4.14
#5E8921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5E8921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8921
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8921#FFFFFF#000000##000000
##5E89211.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0C
Deuteranopia (green-blind)
#8A7C2B
Tritanopia (blue-blind)
#618375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8921;
/* rgb */ color: rgb(94, 137, 33);
/* oklch */ color: oklch(57.8% 0.139 129.8);
Tailwind
colors: {
  custom: {
    50: '#8fab64',
    500: '#5e8921',
    950: '#000000',
  },
}
SCSS
$custom: #5e8921;
$custom-light: #8fab64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8921",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 84.808,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57795,
    "c": 0.13891,
    "h": 129.8
  },
  "luminance": 0.20381
}

Semantic roles & 50–950 ramp

primary
#5E8921
secondary
#7A4EB8
accent
#44E486
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8921

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

Preview Lab → · Contrast checker → · Palette generator →

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