#5E8B22#5E8B22

#5E8B22 is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.3% C 0.141 H 130.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5E8B22
RGBrgb(94, 139, 34)
HSLhsl(86, 61%, 34%)
HSVhsv(86, 76%, 55%)
CMYKcmyk(32.4%, 0%, 75.5%, 45.5%)
CIE-LABlab(52.91, -32.09, 48.08)
CIE-LCHlch(52.91, 57.81, 123.72°)
OKLaboklab(58.32% -0.0912 0.1075)
OKLCHoklch(58.32% 0.141 130.3)
XYZxyz(14.1374, 20.9600, 4.8139)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8B22 #4F228B
analogous
#8B8422 #5E8B22 #2A8B22
triadic
#5E8B22 #225E8B #8B225E
tetradic
#5E8B22 #228B84 #4F228B #8B222A
square
#5E8B22 #228B84 #4F228B #8B222A
split-complementary
#5E8B22 #222A8B #84228B
monochromatic
#1B290A #3D5A16 #5E8B22 #7FBC2E #9DD553

Accessibility & contrast

On white

4.04
#5E8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5E8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8B22
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8B22#FFFFFF#000000##000000
##5E8B221.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#92800D
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#608577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8b22;
/* rgb */ color: rgb(94, 139, 34);
/* oklch */ color: oklch(58.3% 0.141 130.3);
Tailwind
colors: {
  custom: {
    50: '#90ad65',
    500: '#5e8b22',
    950: '#000000',
  },
}
SCSS
$custom: #5e8b22;
$custom-light: #90ad65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8b22",
  "rgb": {
    "r": 94,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 85.714,
    "s": 60.694,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58319,
    "c": 0.14092,
    "h": 130.3
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

primary
#5E8B22
secondary
#7D50B8
accent
#44E488
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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