#5D8B2A#5D8B2A

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

Color values

HEX#5D8B2A
RGBrgb(93, 139, 42)
HSLhsl(88, 54%, 35%)
HSVhsv(88, 70%, 55%)
CMYKcmyk(33.1%, 0%, 69.8%, 45.5%)
CIE-LABlab(52.90, -31.91, 44.92)
CIE-LCHlch(52.90, 55.10, 125.39°)
OKLaboklab(58.32% -0.09 0.1021)
OKLCHoklch(58.32% 0.136 131.4)
XYZxyz(14.1646, 20.9591, 5.4892)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8B2A #582A8B
analogous
#8B882A #5D8B2A #2C8B2A
triadic
#5D8B2A #2A5D8B #8B2A5D
tetradic
#5D8B2A #2A8B88 #582A8B #8B2A2C
square
#5D8B2A #2A8B88 #582A8B #8B2A2C
split-complementary
#5D8B2A #2A2C8B #882A8B
monochromatic
#1E2D0E #3E5C1C #5D8B2A #7CBA38 #9BCF60

Accessibility & contrast

On white

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

On black

5.19
#5D8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8B2A
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8B2A#FFFFFF#000000##000000
##5D8B2A1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811C
Deuteranopia (green-blind)
#8B7D32
Tritanopia (blue-blind)
#5F8577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8b2a;
/* rgb */ color: rgb(93, 139, 42);
/* oklch */ color: oklch(58.3% 0.136 131.4);
Tailwind
colors: {
  custom: {
    50: '#8fad69',
    500: '#5d8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #5d8b2a;
$custom-light: #8fad69;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8b2a",
  "rgb": {
    "r": 93,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 88.454,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58321,
    "c": 0.13605,
    "h": 131.4
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

primary
#5D8B2A
secondary
#865CB5
accent
#4BDD90
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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