#5D8A2A#5D8A2A

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

Color values

HEX#5D8A2A
RGBrgb(93, 138, 42)
HSLhsl(88, 53%, 35%)
HSVhsv(88, 70%, 54%)
CMYKcmyk(32.6%, 0%, 69.6%, 45.9%)
CIE-LABlab(52.59, -31.45, 44.59)
CIE-LCHlch(52.59, 54.56, 125.20°)
OKLaboklab(58.06% -0.0887 0.1014)
OKLCHoklch(58.06% 0.135 131.2)
XYZxyz(14.0205, 20.6708, 5.4412)
Luminance0.2067 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A2A #572A8A
analogous
#8A872A #5D8A2A #2D8A2A
triadic
#5D8A2A #2A5D8A #8A2A5D
tetradic
#5D8A2A #2A8A87 #572A8A #8A2A2D
square
#5D8A2A #2A8A87 #572A8A #8A2A2D
split-complementary
#5D8A2A #2A2D8A #872A8A
monochromatic
#1E2C0D #3D5B1C #5D8A2A #7DB938 #9BCF60

Accessibility & contrast

On white

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

On black

5.13
#5D8A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8A2A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8A2A#FFFFFF#000000##000000
##5D8A2A1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d8a2a;
/* rgb */ color: rgb(93, 138, 42);
/* oklch */ color: oklch(58.1% 0.135 131.2);
Tailwind
colors: {
  custom: {
    50: '#8eac69',
    500: '#5d8a2a',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a2a;
$custom-light: #8eac69;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a2a",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 42
  },
  "hsl": {
    "h": 88.125,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.58063,
    "c": 0.13469,
    "h": 131.2
  },
  "luminance": 0.20671
}

Semantic roles & 50–950 ramp

primary
#5D8A2A
secondary
#855BB4
accent
#4BDD8F
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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