#5D8B2D#5D8B2D

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

Color values

HEX#5D8B2D
RGBrgb(93, 139, 45)
HSLhsl(89, 51%, 36%)
HSVhsv(89, 68%, 55%)
CMYKcmyk(33.1%, 0%, 67.6%, 45.5%)
CIE-LABlab(52.93, -31.67, 43.67)
CIE-LCHlch(52.93, 53.94, 125.95°)
OKLaboklab(58.35% -0.089 0.0999)
OKLCHoklch(58.35% 0.134 131.7)
XYZxyz(14.2203, 20.9814, 5.7827)
Luminance0.2098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B2D #5B2D8B
analogous
#8B8A2D #5D8B2D #2E8B2D
triadic
#5D8B2D #2D5D8B #8B2D5D
tetradic
#5D8B2D #2D8B8A #5B2D8B #8B2D2E
square
#5D8B2D #2D8B8A #5B2D8B #8B2D2E
split-complementary
#5D8B2D #2D2E8B #8A2D8B
monochromatic
#1F2F0F #3E5D1E #5D8B2D #7CB93C #9ACD65

Accessibility & contrast

On white

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

On black

5.20
#5D8B2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8B2D
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8B2D#FFFFFF#000000##000000
##5D8B2D1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918120
Deuteranopia (green-blind)
#8B7D35
Tritanopia (blue-blind)
#5E8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b2d;
/* rgb */ color: rgb(93, 139, 45);
/* oklch */ color: oklch(58.3% 0.134 131.7);
Tailwind
colors: {
  custom: {
    50: '#8ead6b',
    500: '#5d8b2d',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b2d;
$custom-light: #8ead6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b2d",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 45
  },
  "hsl": {
    "h": 89.362,
    "s": 51.087,
    "l": 36.078
  },
  "oklch": {
    "l": 0.58349,
    "c": 0.13379,
    "h": 131.7
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#5D8B2D
secondary
#8960B4
accent
#4DDB92
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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