#5E8922#5E8922

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

Color values

HEX#5E8922
RGBrgb(94, 137, 34)
HSLhsl(85, 60%, 34%)
HSVhsv(85, 75%, 54%)
CMYKcmyk(31.4%, 0%, 75.2%, 46.3%)
CIE-LABlab(52.27, -31.16, 47.46)
CIE-LCHlch(52.27, 56.77, 123.28°)
OKLaboklab(57.8% -0.0886 0.1062)
OKLCHoklch(57.8% 0.138 129.9)
XYZxyz(13.8504, 20.3861, 4.7182)
Luminance0.2039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8922 #4D2289
analogous
#898022 #5E8922 #2A8922
triadic
#5E8922 #225E89 #89225E
tetradic
#5E8922 #228980 #4D2289 #89222A
square
#5E8922 #228980 #4D2289 #89222A
split-complementary
#5E8922 #222A89 #802289
monochromatic
#1B270A #3C5816 #5E8922 #80BA2E #9DD451

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8922#FFFFFF#000000##000000
##5E89221.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)
#907F0E
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#618375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8922;
/* rgb */ color: rgb(94, 137, 34);
/* oklch */ color: oklch(57.8% 0.138 129.9);
Tailwind
colors: {
  custom: {
    50: '#8fab65',
    500: '#5e8922',
    950: '#000000',
  },
}
SCSS
$custom: #5e8922;
$custom-light: #8fab65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8922",
  "rgb": {
    "r": 94,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 85.049,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.13829,
    "h": 129.9
  },
  "luminance": 0.20386
}

Semantic roles & 50–950 ramp

primary
#5E8922
secondary
#7B4FB8
accent
#44E387
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8922

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

Preview Lab → · Contrast checker → · Palette generator →

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