#5D8124#5D8124

#5D8124 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.127 H 128.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#5D8124
RGBrgb(93, 129, 36)
HSLhsl(83, 56%, 32%)
HSVhsv(83, 72%, 51%)
CMYKcmyk(27.9%, 0%, 72.1%, 49.4%)
CIE-LABlab(49.68, -27.61, 44.07)
CIE-LCHlch(49.68, 52.01, 122.07°)
OKLaboklab(55.69% -0.0787 0.0994)
OKLCHoklch(55.69% 0.127 128.4)
XYZxyz(12.6829, 18.1547, 4.5047)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8124 #482481
analogous
#817724 #5D8124 #2E8124
triadic
#5D8124 #245D81 #81245D
tetradic
#5D8124 #248177 #482481 #81242E
square
#5D8124 #248177 #482481 #81242E
split-complementary
#5D8124 #242E81 #772481
monochromatic
#182109 #3B5117 #5D8124 #7FB131 #9ECE51

Accessibility & contrast

On white

4.53
#5D8124 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#5D8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8124
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8124#FFFFFF#000000##000000
##5D81241.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877815
Deuteranopia (green-blind)
#83752C
Tritanopia (blue-blind)
#607B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5d8124;
/* rgb */ color: rgb(93, 129, 36);
/* oklch */ color: oklch(55.7% 0.127 128.4);
Tailwind
colors: {
  custom: {
    50: '#8ea565',
    500: '#5d8124',
    950: '#000000',
  },
}
SCSS
$custom: #5d8124;
$custom-light: #8ea565;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8124",
  "rgb": {
    "r": 93,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 83.226,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55687,
    "c": 0.1268,
    "h": 128.4
  },
  "luminance": 0.18155
}

Semantic roles & 50–950 ramp

primary
#5D8124
secondary
#754EB2
accent
#48E083
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D0F06
muted
#7D7F7A

Preview Lab

Preview with #5D8124

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

Preview Lab → · Contrast checker → · Palette generator →

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