#5D8B23#5D8B23

#5D8B23 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.141 H 130.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#5D8B23
RGBrgb(93, 139, 35)
HSLhsl(87, 60%, 34%)
HSVhsv(87, 75%, 55%)
CMYKcmyk(33.1%, 0%, 74.8%, 45.5%)
CIE-LABlab(52.85, -32.41, 47.64)
CIE-LCHlch(52.85, 57.62, 124.23°)
OKLaboklab(58.26% -0.0919 0.1067)
OKLCHoklch(58.26% 0.141 130.7)
XYZxyz(14.0501, 20.9133, 4.8862)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B23 #51238B
analogous
#8B8523 #5D8B23 #298B23
triadic
#5D8B23 #235D8B #8B235D
tetradic
#5D8B23 #238B85 #51238B #8B2329
square
#5D8B23 #238B85 #51238B #8B2329
split-complementary
#5D8B23 #23298B #85238B
monochromatic
#1C290A #3C5A17 #5D8B23 #7EBC2F #9CD454

Accessibility & contrast

On white

4.05
#5D8B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#5D8B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8B23
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8B23#FFFFFF#000000##000000
##5D8B231.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800F
Deuteranopia (green-blind)
#8B7D2D
Tritanopia (blue-blind)
#5F8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b23;
/* rgb */ color: rgb(93, 139, 35);
/* oklch */ color: oklch(58.3% 0.141 130.7);
Tailwind
colors: {
  custom: {
    50: '#8fad65',
    500: '#5d8b23',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b23;
$custom-light: #8fad65;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b23",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 35
  },
  "hsl": {
    "h": 86.538,
    "s": 59.77,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58264,
    "c": 0.14083,
    "h": 130.7
  },
  "luminance": 0.20914
}

Semantic roles & 50–950 ramp

primary
#5D8B23
secondary
#7F52B8
accent
#45E38B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8B23

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

Preview Lab → · Contrast checker → · Palette generator →

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