#5D8A2B#5D8A2B

#5D8A2B is a mid, vivid yellow-green. Relative luminance 0.207; OKLCH L 58.1% C 0.134 H 131.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#5D8A2B
RGBrgb(93, 138, 43)
HSLhsl(88, 52%, 35%)
HSVhsv(88, 69%, 54%)
CMYKcmyk(32.6%, 0%, 68.8%, 45.9%)
CIE-LABlab(52.60, -31.37, 44.17)
CIE-LCHlch(52.60, 54.18, 125.38°)
OKLaboklab(58.07% -0.0884 0.1006)
OKLCHoklch(58.07% 0.134 131.3)
XYZxyz(14.0386, 20.6781, 5.5366)
Luminance0.2068 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A2B #582B8A
analogous
#8A872B #5D8A2B #2D8A2B
triadic
#5D8A2B #2B5D8A #8A2B5D
tetradic
#5D8A2B #2B8A87 #582B8A #8A2B2D
square
#5D8A2B #2B8A87 #582B8A #8A2B2D
split-complementary
#5D8A2B #2B2D8A #872B8A
monochromatic
#1E2D0E #3E5B1C #5D8A2B #7CB93A #9BCE61

Accessibility & contrast

On white

4.09
#5D8A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#5D8A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8A2B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8A2B#FFFFFF#000000##000000
##5D8A2B1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90801E
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#5F8477
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d8a2b;
/* rgb */ color: rgb(93, 138, 43);
/* oklch */ color: oklch(58.1% 0.134 131.3);
Tailwind
colors: {
  custom: {
    50: '#8eac6a',
    500: '#5d8a2b',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a2b;
$custom-light: #8eac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a2b",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 43
  },
  "hsl": {
    "h": 88.421,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58072,
    "c": 0.13394,
    "h": 131.3
  },
  "luminance": 0.20679
}

Semantic roles & 50–950 ramp

primary
#5D8A2B
secondary
#865DB4
accent
#4CDC90
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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