#5E9822#5E9822

#5E9822 is a mid, vivid yellow-green. Relative luminance 0.250; OKLCH L 61.7% C 0.158 H 132.7°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E9822
RGBrgb(94, 152, 34)
HSLhsl(89, 63%, 36%)
HSVhsv(89, 78%, 60%)
CMYKcmyk(38.2%, 0%, 77.6%, 40.4%)
CIE-LABlab(57.03, -37.94, 52.07)
CIE-LCHlch(57.03, 64.42, 126.07°)
OKLaboklab(61.68% -0.107 0.1158)
OKLCHoklch(61.68% 0.158 132.7)
XYZxyz(16.1328, 24.9509, 5.4790)
Luminance0.2495 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9822 #5C2298
analogous
#989722 #5E9822 #239822
triadic
#5E9822 #225E98 #98225E
tetradic
#5E9822 #229897 #5C2298 #982223
square
#5E9822 #229897 #5C2298 #982223
split-complementary
#5E9822 #222398 #972298
monochromatic
#20340C #3F6617 #5E9822 #7DCA2D #9BDA5A

Accessibility & contrast

On white

3.51
#5E9822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#5E9822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9822
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9822#FFFFFF#000000##000000
##5E98221.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C04
Deuteranopia (green-blind)
#97872E
Tritanopia (blue-blind)
#5F9282
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5e9822;
/* rgb */ color: rgb(94, 152, 34);
/* oklch */ color: oklch(61.7% 0.158 132.7);
Tailwind
colors: {
  custom: {
    50: '#91b767',
    500: '#5e9822',
    950: '#000000',
  },
}
SCSS
$custom: #5e9822;
$custom-light: #91b767;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9822",
  "rgb": {
    "r": 94,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 89.492,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61683,
    "c": 0.15767,
    "h": 132.7
  },
  "luminance": 0.24952
}

Semantic roles & 50–950 ramp

primary
#5E9822
secondary
#8A57BE
accent
#41E693
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9822

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

Preview Lab → · Contrast checker → · Palette generator →

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