#5E8220#5E8220

#5E8220 is a mid, vivid yellow-green. Relative luminance 0.184; OKLCH L 56.0% C 0.130 H 127.9°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#5E8220
RGBrgb(94, 130, 32)
HSLhsl(82, 60%, 32%)
HSVhsv(82, 75%, 51%)
CMYKcmyk(27.7%, 0%, 75.4%, 49%)
CIE-LABlab(50.04, -27.96, 46.01)
CIE-LCHlch(50.04, 53.84, 121.28°)
OKLaboklab(55.98% -0.0801 0.1028)
OKLCHoklch(55.98% 0.13 127.9)
XYZxyz(12.8594, 18.4489, 4.2497)
Luminance0.1845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8220 #442082
analogous
#827520 #5E8220 #2D8220
triadic
#5E8220 #205E82 #82205E
tetradic
#5E8220 #208275 #442082 #82202D
square
#5E8220 #208275 #442082 #82202D
split-complementary
#5E8220 #202D82 #752082
monochromatic
#172008 #3A5114 #5E8220 #82B32C #A0D24A

Accessibility & contrast

On white

4.48
#5E8220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#5E8220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8220
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8220#FFFFFF#000000##000000
##5E82201.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89790D
Deuteranopia (green-blind)
#847629
Tritanopia (blue-blind)
#617C6F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #5e8220;
/* rgb */ color: rgb(94, 130, 32);
/* oklch */ color: oklch(56.0% 0.130 127.9);
Tailwind
colors: {
  custom: {
    50: '#8fa663',
    500: '#5e8220',
    950: '#000000',
  },
}
SCSS
$custom: #5e8220;
$custom-light: #8fa663;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8220",
  "rgb": {
    "r": 94,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 82.041,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.1303,
    "h": 127.9
  },
  "luminance": 0.18449
}

Semantic roles & 50–950 ramp

primary
#5E8220
secondary
#7149B5
accent
#44E47F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8220

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

Preview Lab → · Contrast checker → · Palette generator →

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