#5E9A22#5E9A22

#5E9A22 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.2% C 0.160 H 133.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#5E9A22
RGBrgb(94, 154, 34)
HSLhsl(90, 64%, 37%)
HSVhsv(90, 78%, 60%)
CMYKcmyk(39%, 0%, 77.9%, 39.6%)
CIE-LABlab(57.66, -38.80, 52.68)
CIE-LCHlch(57.66, 65.43, 126.38°)
OKLaboklab(62.2% -0.1093 0.1171)
OKLCHoklch(62.2% 0.16 133)
XYZxyz(16.4602, 25.6056, 5.5882)
Luminance0.2561 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E9A22 #5E229A
analogous
#9A9A22 #5E9A22 #229A22
triadic
#5E9A22 #225E9A #9A225E
tetradic
#5E9A22 #229A9A #5E229A #9A2222
square
#5E9A22 #229A9A #5E229A #9A2222
split-complementary
#5E9A22 #22229A #9A229A
monochromatic
#21360C #3F6817 #5E9A22 #7DCC2D #9BDB5B

Accessibility & contrast

On white

3.43
#5E9A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#5E9A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E9A22
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E9A22#FFFFFF#000000##000000
##5E9A221.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E03
Deuteranopia (green-blind)
#98892F
Tritanopia (blue-blind)
#5E9483
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5e9a22;
/* rgb */ color: rgb(94, 154, 34);
/* oklch */ color: oklch(62.2% 0.160 133.0);
Tailwind
colors: {
  custom: {
    50: '#91b867',
    500: '#5e9a22',
    950: '#000000',
  },
}
SCSS
$custom: #5e9a22;
$custom-light: #91b867;
$custom-dark: #000000;
JSON
{
  "hex": "#5e9a22",
  "rgb": {
    "r": 94,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 90,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62201,
    "c": 0.1602,
    "h": 133
  },
  "luminance": 0.25606
}

Semantic roles & 50–950 ramp

primary
#5E9A22
secondary
#8C58BF
accent
#41E794
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E9A22

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

Preview Lab → · Contrast checker → · Palette generator →

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