#5D8B2E#5D8B2E

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

Color values

HEX#5D8B2E
RGBrgb(93, 139, 46)
HSLhsl(90, 50%, 36%)
HSVhsv(90, 67%, 55%)
CMYKcmyk(33.1%, 0%, 66.9%, 45.5%)
CIE-LABlab(52.94, -31.59, 43.24)
CIE-LCHlch(52.94, 53.55, 126.15°)
OKLaboklab(58.36% -0.0887 0.0991)
OKLCHoklch(58.36% 0.133 131.8)
XYZxyz(14.2398, 20.9891, 5.8853)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B2E #5C2E8B
analogous
#8B8B2E #5D8B2E #2F8B2E
triadic
#5D8B2E #2E5D8B #8B2E5D
tetradic
#5D8B2E #2E8B8B #5C2E8B #8B2E2F
square
#5D8B2E #2E8B8B #5C2E8B #8B2E2F
split-complementary
#5D8B2E #2E2F8B #8B2E8B
monochromatic
#1F2F10 #3E5D1F #5D8B2E #7CB93D #9ACD67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8B2E#FFFFFF#000000##000000
##5D8B2E1.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)
#918122
Deuteranopia (green-blind)
#8B7D36
Tritanopia (blue-blind)
#5E8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b2e;
/* rgb */ color: rgb(93, 139, 46);
/* oklch */ color: oklch(58.4% 0.133 131.8);
Tailwind
colors: {
  custom: {
    50: '#8ead6b',
    500: '#5d8b2e',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b2e;
$custom-light: #8ead6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b2e",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 46
  },
  "hsl": {
    "h": 89.677,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.58359,
    "c": 0.13301,
    "h": 131.8
  },
  "luminance": 0.2099
}

Semantic roles & 50–950 ramp

primary
#5D8B2E
secondary
#8A61B3
accent
#4EDA93
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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