#5D8B2B#5D8B2B

#5D8B2B is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.3% C 0.135 H 131.5°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5D8B2B
RGBrgb(93, 139, 43)
HSLhsl(89, 53%, 36%)
HSVhsv(89, 69%, 55%)
CMYKcmyk(33.1%, 0%, 69.1%, 45.5%)
CIE-LABlab(52.91, -31.84, 44.51)
CIE-LCHlch(52.91, 54.72, 125.58°)
OKLaboklab(58.33% -0.0897 0.1013)
OKLCHoklch(58.33% 0.135 131.5)
XYZxyz(14.1827, 20.9663, 5.5847)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B2B #592B8B
analogous
#8B892B #5D8B2B #2D8B2B
triadic
#5D8B2B #2B5D8B #8B2B5D
tetradic
#5D8B2B #2B8B89 #592B8B #8B2B2D
square
#5D8B2B #2B8B89 #592B8B #8B2B2D
split-complementary
#5D8B2B #2B2D8B #892B8B
monochromatic
#1E2E0E #3E5C1D #5D8B2B #7CBA39 #9ACE62

Accessibility & contrast

On white

4.04
#5D8B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5D8B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8B2B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8B2B#FFFFFF#000000##000000
##5D8B2B1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811D
Deuteranopia (green-blind)
#8B7D33
Tritanopia (blue-blind)
#5F8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b2b;
/* rgb */ color: rgb(93, 139, 43);
/* oklch */ color: oklch(58.3% 0.135 131.5);
Tailwind
colors: {
  custom: {
    50: '#8ead6a',
    500: '#5d8b2b',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b2b;
$custom-light: #8ead6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b2b",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 88.75,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.13531,
    "h": 131.5
  },
  "luminance": 0.20967
}

Semantic roles & 50–950 ramp

primary
#5D8B2B
secondary
#875DB5
accent
#4CDC91
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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