#5E8524#5E8524

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

Color values

HEX#5E8524
RGBrgb(94, 133, 36)
HSLhsl(84, 57%, 33%)
HSVhsv(84, 73%, 52%)
CMYKcmyk(29.3%, 0%, 72.9%, 47.8%)
CIE-LABlab(51.02, -29.13, 45.44)
CIE-LCHlch(51.02, 53.98, 122.66°)
OKLaboklab(56.79% -0.0829 0.1022)
OKLCHoklch(56.79% 0.132 129.1)
XYZxyz(13.3220, 19.2818, 4.6886)
Luminance0.1928 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8524 #4B2485
analogous
#857B24 #5E8524 #2D8524
triadic
#5E8524 #245E85 #85245E
tetradic
#5E8524 #24857B #4B2485 #85242D
square
#5E8524 #24857B #4B2485 #85242D
split-complementary
#5E8524 #242D85 #7B2485
monochromatic
#1A250A #3C5517 #5E8524 #80B531 #9ED053

Accessibility & contrast

On white

4.32
#5E8524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5E8524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8524
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8524#FFFFFF#000000##000000
##5E85241.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8524;
/* rgb */ color: rgb(94, 133, 36);
/* oklch */ color: oklch(56.8% 0.132 129.1);
Tailwind
colors: {
  custom: {
    50: '#8fa865',
    500: '#5e8524',
    950: '#000000',
  },
}
SCSS
$custom: #5e8524;
$custom-light: #8fa865;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8524",
  "rgb": {
    "r": 94,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 84.124,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.13166,
    "h": 129.1
  },
  "luminance": 0.19282
}

Semantic roles & 50–950 ramp

primary
#5E8524
secondary
#7950B4
accent
#47E185
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8524

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

Preview Lab → · Contrast checker → · Palette generator →

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