#5D8A27#5D8A27

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

Color values

HEX#5D8A27
RGBrgb(93, 138, 39)
HSLhsl(87, 56%, 35%)
HSVhsv(87, 72%, 54%)
CMYKcmyk(32.6%, 0%, 71.7%, 45.9%)
CIE-LABlab(52.56, -31.67, 45.80)
CIE-LCHlch(52.56, 55.68, 124.67°)
OKLaboklab(58.04% -0.0896 0.1035)
OKLCHoklch(58.04% 0.137 130.9)
XYZxyz(13.9688, 20.6501, 5.1690)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A27 #54278A
analogous
#8A8627 #5D8A27 #2B8A27
triadic
#5D8A27 #275D8A #8A275D
tetradic
#5D8A27 #278A86 #54278A #8A272B
square
#5D8A27 #278A86 #54278A #8A272B
split-complementary
#5D8A27 #272B8A #86278A
monochromatic
#1D2B0C #3D5A1A #5D8A27 #7DBA34 #9BD15B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8A27#FFFFFF#000000##000000
##5D8A271.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)
#908017
Deuteranopia (green-blind)
#8A7C30
Tritanopia (blue-blind)
#5F8476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5d8a27;
/* rgb */ color: rgb(93, 138, 39);
/* oklch */ color: oklch(58.0% 0.137 130.9);
Tailwind
colors: {
  custom: {
    50: '#8fac67',
    500: '#5d8a27',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a27;
$custom-light: #8fac67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a27",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 87.273,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.58037,
    "c": 0.13685,
    "h": 130.9
  },
  "luminance": 0.20651
}

Semantic roles & 50–950 ramp

primary
#5D8A27
secondary
#8257B6
accent
#49DF8D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5D8A27

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

Preview Lab → · Contrast checker → · Palette generator →

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