#5D8D23#5D8D23

#5D8D23 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.143 H 131.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5D8D23
RGBrgb(93, 141, 35)
HSLhsl(87, 60%, 35%)
HSVhsv(87, 75%, 55%)
CMYKcmyk(34%, 0%, 75.2%, 44.7%)
CIE-LABlab(53.49, -33.33, 48.27)
CIE-LCHlch(53.49, 58.66, 124.63°)
OKLaboklab(58.78% -0.0944 0.108)
OKLCHoklch(58.78% 0.143 131.2)
XYZxyz(14.3423, 21.4977, 4.9836)
Luminance0.2150 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8D23 #53238D
analogous
#8D8823 #5D8D23 #288D23
triadic
#5D8D23 #235D8D #8D235D
tetradic
#5D8D23 #238D88 #53238D #8D2328
square
#5D8D23 #238D88 #53238D #8D2328
split-complementary
#5D8D23 #23288D #88238D
monochromatic
#1C2B0B #3D5C17 #5D8D23 #7DBE2F #9BD555

Accessibility & contrast

On white

3.96
#5D8D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5D8D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8D23
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8D23#FFFFFF#000000##000000
##5D8D231.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820E
Deuteranopia (green-blind)
#8D7F2D
Tritanopia (blue-blind)
#5F8779
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5d8d23;
/* rgb */ color: rgb(93, 141, 35);
/* oklch */ color: oklch(58.8% 0.143 131.2);
Tailwind
colors: {
  custom: {
    50: '#8fae66',
    500: '#5d8d23',
    950: '#000000',
  },
}
SCSS
$custom: #5d8d23;
$custom-light: #8fae66;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8d23",
  "rgb": {
    "r": 93,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 87.17,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.58782,
    "c": 0.14346,
    "h": 131.2
  },
  "luminance": 0.21498
}

Semantic roles & 50–950 ramp

primary
#5D8D23
secondary
#8153B9
accent
#44E38C
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8D23

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

Preview Lab → · Contrast checker → · Palette generator →

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