#5E8124#5E8124

#5E8124 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.8% C 0.126 H 128.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5E8124
RGBrgb(94, 129, 36)
HSLhsl(83, 56%, 32%)
HSVhsv(83, 72%, 51%)
CMYKcmyk(27.1%, 0%, 72.1%, 49.4%)
CIE-LABlab(49.75, -27.20, 44.16)
CIE-LCHlch(49.75, 51.87, 121.64°)
OKLaboklab(55.76% -0.0777 0.0996)
OKLCHoklch(55.76% 0.126 128)
XYZxyz(12.7848, 18.2073, 4.5095)
Luminance0.1821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8124 #472481
analogous
#817624 #5E8124 #2F8124
triadic
#5E8124 #245E81 #81245E
tetradic
#5E8124 #248176 #472481 #81242F
square
#5E8124 #248176 #472481 #81242F
split-complementary
#5E8124 #242F81 #762481
monochromatic
#182109 #3B5117 #5E8124 #81B131 #9FCE51

Accessibility & contrast

On white

4.52
#5E8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5E8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8124
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8124#FFFFFF#000000##000000
##5E81241.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887815
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#617B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5e8124;
/* rgb */ color: rgb(94, 129, 36);
/* oklch */ color: oklch(55.8% 0.126 128.0);
Tailwind
colors: {
  custom: {
    50: '#8fa565',
    500: '#5e8124',
    950: '#000000',
  },
}
SCSS
$custom: #5e8124;
$custom-light: #8fa565;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8124",
  "rgb": {
    "r": 94,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 82.581,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55755,
    "c": 0.12627,
    "h": 128
  },
  "luminance": 0.18208
}

Semantic roles & 50–950 ramp

primary
#5E8124
secondary
#744EB2
accent
#48E081
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F06
muted
#7E7F7A

Preview Lab

Preview with #5E8124

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

Preview Lab → · Contrast checker → · Palette generator →

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