#5D8F2A#5D8F2A

#5D8F2A is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.4% C 0.141 H 132.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5D8F2A
RGBrgb(93, 143, 42)
HSLhsl(90, 55%, 36%)
HSVhsv(90, 71%, 56%)
CMYKcmyk(35%, 0%, 70.6%, 43.9%)
CIE-LABlab(54.17, -33.75, 46.23)
CIE-LCHlch(54.17, 57.25, 126.13°)
OKLaboklab(59.36% -0.095 0.1048)
OKLCHoklch(59.36% 0.141 132.2)
XYZxyz(14.7544, 22.1387, 5.6858)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8F2A #5C2A8F
analogous
#8F8F2A #5D8F2A #2B8F2A
triadic
#5D8F2A #2A5D8F #8F2A5D
tetradic
#5D8F2A #2A8F8F #5C2A8F #8F2A2B
square
#5D8F2A #2A8F8F #5C2A8F #8F2A2B
split-complementary
#5D8F2A #2A2B8F #8F2A8F
monochromatic
#1F300E #3E601C #5D8F2A #7CBE38 #9AD162

Accessibility & contrast

On white

3.87
#5D8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5D8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8F2A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8F2A#FFFFFF#000000##000000
##5D8F2A1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95841B
Deuteranopia (green-blind)
#8E8033
Tritanopia (blue-blind)
#5E897B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d8f2a;
/* rgb */ color: rgb(93, 143, 42);
/* oklch */ color: oklch(59.4% 0.141 132.2);
Tailwind
colors: {
  custom: {
    50: '#8fb06a',
    500: '#5d8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #5d8f2a;
$custom-light: #8fb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8f2a",
  "rgb": {
    "r": 93,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 89.703,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.59355,
    "c": 0.14146,
    "h": 132.2
  },
  "luminance": 0.22139
}

Semantic roles & 50–950 ramp

primary
#5D8F2A
secondary
#8A5EB7
accent
#4ADE93
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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