#5D8A2E#5D8A2E

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

Color values

HEX#5D8A2E
RGBrgb(93, 138, 46)
HSLhsl(89, 50%, 36%)
HSVhsv(89, 67%, 54%)
CMYKcmyk(32.6%, 0%, 66.7%, 45.9%)
CIE-LABlab(52.62, -31.12, 42.90)
CIE-LCHlch(52.62, 53.00, 125.96°)
OKLaboklab(58.1% -0.0874 0.0984)
OKLCHoklch(58.1% 0.132 131.6)
XYZxyz(14.0957, 20.7009, 5.8372)
Luminance0.2070 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A2E #5B2E8A
analogous
#8A892E #5D8A2E #2F8A2E
triadic
#5D8A2E #2E5D8A #8A2E5D
tetradic
#5D8A2E #2E8A89 #5B2E8A #8A2E2F
square
#5D8A2E #2E8A89 #5B2E8A #8A2E2F
split-complementary
#5D8A2E #2E2F8A #892E8A
monochromatic
#1F2E0F #3E5C1F #5D8A2E #7CB83D #9ACC66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8A2E#FFFFFF#000000##000000
##5D8A2E1.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)
#908022
Deuteranopia (green-blind)
#8A7C35
Tritanopia (blue-blind)
#5E8477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a2e;
/* rgb */ color: rgb(93, 138, 46);
/* oklch */ color: oklch(58.1% 0.132 131.6);
Tailwind
colors: {
  custom: {
    50: '#8eac6b',
    500: '#5d8a2e',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a2e;
$custom-light: #8eac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a2e",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 46
  },
  "hsl": {
    "h": 89.348,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.581,
    "c": 0.13162,
    "h": 131.6
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#5D8A2E
secondary
#8961B3
accent
#4EDA92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D8A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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