#5E8520#5E8520

#5E8520 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.134 H 128.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#5E8520
RGBrgb(94, 133, 32)
HSLhsl(83, 61%, 32%)
HSVhsv(83, 76%, 52%)
CMYKcmyk(29.3%, 0%, 75.9%, 47.8%)
CIE-LABlab(50.99, -29.39, 46.94)
CIE-LCHlch(50.99, 55.39, 122.05°)
OKLaboklab(56.76% -0.084 0.1048)
OKLCHoklch(56.76% 0.134 128.7)
XYZxyz(13.2643, 19.2587, 4.3847)
Luminance0.1926 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8520 #472085
analogous
#857920 #5E8520 #2C8520
triadic
#5E8520 #205E85 #85205E
tetradic
#5E8520 #208579 #472085 #85202C
square
#5E8520 #208579 #472085 #85202C
split-complementary
#5E8520 #202C85 #792085
monochromatic
#182208 #3B5414 #5E8520 #81B62C #9FD44C

Accessibility & contrast

On white

4.33
#5E8520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#5E8520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8520
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8520#FFFFFF#000000##000000
##5E85201.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B0B
Deuteranopia (green-blind)
#86792A
Tritanopia (blue-blind)
#617F72
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e8520;
/* rgb */ color: rgb(94, 133, 32);
/* oklch */ color: oklch(56.8% 0.134 128.7);
Tailwind
colors: {
  custom: {
    50: '#8fa863',
    500: '#5e8520',
    950: '#000000',
  },
}
SCSS
$custom: #5e8520;
$custom-light: #8fa863;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8520",
  "rgb": {
    "r": 94,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 83.168,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56755,
    "c": 0.13427,
    "h": 128.7
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#5E8520
secondary
#744AB7
accent
#43E482
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8520

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

Preview Lab → · Contrast checker → · Palette generator →

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