#5E8D22#5E8D22

#5E8D22 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.144 H 130.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5E8D22
RGBrgb(94, 141, 34)
HSLhsl(86, 61%, 34%)
HSVhsv(86, 76%, 55%)
CMYKcmyk(33.3%, 0%, 75.9%, 44.7%)
CIE-LABlab(53.54, -33.01, 48.70)
CIE-LCHlch(53.54, 58.84, 124.13°)
OKLaboklab(58.84% -0.0937 0.1088)
OKLCHoklch(58.84% 0.144 130.7)
XYZxyz(14.4296, 21.5444, 4.9113)
Luminance0.2155 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D22 #51228D
analogous
#8D8722 #5E8D22 #298D22
triadic
#5E8D22 #225E8D #8D225E
tetradic
#5E8D22 #228D87 #51228D #8D2229
square
#5E8D22 #228D87 #51228D #8D2229
split-complementary
#5E8D22 #22298D #87228D
monochromatic
#1C2A0A #3D5C16 #5E8D22 #7FBE2E #9DD654

Accessibility & contrast

On white

3.96
#5E8D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#5E8D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8D22
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8D22#FFFFFF#000000##000000
##5E8D221.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820C
Deuteranopia (green-blind)
#8D7F2C
Tritanopia (blue-blind)
#608779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d22;
/* rgb */ color: rgb(94, 141, 34);
/* oklch */ color: oklch(58.8% 0.144 130.7);
Tailwind
colors: {
  custom: {
    50: '#90ae65',
    500: '#5e8d22',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d22;
$custom-light: #90ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d22",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 86.355,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58836,
    "c": 0.14354,
    "h": 130.7
  },
  "luminance": 0.21545
}

Semantic roles & 50–950 ramp

primary
#5E8D22
secondary
#7F51B9
accent
#44E48A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8D22

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

Preview Lab → · Contrast checker → · Palette generator →

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