#5D8E2B#5D8E2B

#5D8E2B is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.139 H 132.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5D8E2B
RGBrgb(93, 142, 43)
HSLhsl(90, 54%, 36%)
HSVhsv(90, 70%, 56%)
CMYKcmyk(34.5%, 0%, 69.7%, 44.3%)
CIE-LABlab(53.86, -33.22, 45.50)
CIE-LCHlch(53.86, 56.34, 126.13°)
OKLaboklab(59.11% -0.0934 0.1034)
OKLCHoklch(59.11% 0.139 132.1)
XYZxyz(14.6231, 21.8470, 5.7315)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8E2B #5C2B8E
analogous
#8E8E2B #5D8E2B #2C8E2B
triadic
#5D8E2B #2B5D8E #8E2B5D
tetradic
#5D8E2B #2B8E8E #5C2B8E #8E2B2C
square
#5D8E2B #2B8E8E #5C2B8E #8E2B2C
split-complementary
#5D8E2B #2B2C8E #8E2B8E
monochromatic
#1F300F #3E5F1D #5D8E2B #7CBD39 #9AD063

Accessibility & contrast

On white

3.91
#5D8E2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5D8E2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8E2B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8E2B#FFFFFF#000000##000000
##5D8E2B1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831D
Deuteranopia (green-blind)
#8D7F34
Tritanopia (blue-blind)
#5E887A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5d8e2b;
/* rgb */ color: rgb(93, 142, 43);
/* oklch */ color: oklch(59.1% 0.139 132.1);
Tailwind
colors: {
  custom: {
    50: '#8faf6a',
    500: '#5d8e2b',
    950: '#000000',
  },
}
SCSS
$custom: #5d8e2b;
$custom-light: #8faf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8e2b",
  "rgb": {
    "r": 93,
    "g": 142,
    "b": 43
  },
  "hsl": {
    "h": 89.697,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59105,
    "c": 0.13939,
    "h": 132.1
  },
  "luminance": 0.21848
}

Semantic roles & 50–950 ramp

primary
#5D8E2B
secondary
#8A5FB6
accent
#4BDD93
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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