#5E9222#5E9222

#5E9222 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.1% C 0.150 H 131.7°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#5E9222
RGBrgb(94, 146, 34)
HSLhsl(88, 62%, 35%)
HSVhsv(88, 77%, 57%)
CMYKcmyk(35.6%, 0%, 76.7%, 42.7%)
CIE-LABlab(55.13, -35.28, 50.24)
CIE-LCHlch(55.13, 61.39, 125.08°)
OKLaboklab(60.13% -0.0998 0.112)
OKLCHoklch(60.13% 0.15 131.7)
XYZxyz(15.1836, 23.0523, 5.1626)
Luminance0.2305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9222 #562292
analogous
#928E22 #5E9222 #269222
triadic
#5E9222 #225E92 #92225E
tetradic
#5E9222 #22928E #562292 #922226
square
#5E9222 #22928E #562292 #922226
split-complementary
#5E9222 #222692 #8E2292
monochromatic
#1E2F0B #3E6016 #5E9222 #7EC42E #9CD857

Accessibility & contrast

On white

3.74
#5E9222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#5E9222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9222
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9222#FFFFFF#000000##000000
##5E92221.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998708
Deuteranopia (green-blind)
#91832D
Tritanopia (blue-blind)
#5F8C7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5e9222;
/* rgb */ color: rgb(94, 146, 34);
/* oklch */ color: oklch(60.1% 0.150 131.7);
Tailwind
colors: {
  custom: {
    50: '#90b266',
    500: '#5e9222',
    950: '#000000',
  },
}
SCSS
$custom: #5e9222;
$custom-light: #90b266;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9222",
  "rgb": {
    "r": 94,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 87.857,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.6013,
    "c": 0.15001,
    "h": 131.7
  },
  "luminance": 0.23053
}

Semantic roles & 50–950 ramp

primary
#5E9222
secondary
#8454BC
accent
#43E58E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9222

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

Preview Lab → · Contrast checker → · Palette generator →

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