#5D8A2F#5D8A2F

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

Color values

HEX#5D8A2F
RGBrgb(93, 138, 47)
HSLhsl(90, 49%, 36%)
HSVhsv(90, 66%, 54%)
CMYKcmyk(32.6%, 0%, 65.9%, 45.9%)
CIE-LABlab(52.63, -31.03, 42.46)
CIE-LCHlch(52.63, 52.60, 126.16°)
OKLaboklab(58.11% -0.0871 0.0976)
OKLCHoklch(58.11% 0.131 131.8)
XYZxyz(14.1156, 20.7089, 5.9423)
Luminance0.2071 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A2F #5C2F8A
analogous
#8A8A2F #5D8A2F #308A2F
triadic
#5D8A2F #2F5D8A #8A2F5D
tetradic
#5D8A2F #2F8A8A #5C2F8A #8A2F30
square
#5D8A2F #2F8A8A #5C2F8A #8A2F30
split-complementary
#5D8A2F #2F308A #8A2F8A
monochromatic
#1F2F10 #3E5C1F #5D8A2F #7CB83F #9ACC68

Accessibility & contrast

On white

4.08
#5D8A2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8A2F#FFFFFF#000000##000000
##5D8A2F1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908024
Deuteranopia (green-blind)
#8A7C36
Tritanopia (blue-blind)
#5E8477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a2f;
/* rgb */ color: rgb(93, 138, 47);
/* oklch */ color: oklch(58.1% 0.131 131.8);
Tailwind
colors: {
  custom: {
    50: '#8eac6c',
    500: '#5d8a2f',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a2f;
$custom-light: #8eac6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a2f",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 47
  },
  "hsl": {
    "h": 89.67,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5811,
    "c": 0.13082,
    "h": 131.8
  },
  "luminance": 0.20709
}

Semantic roles & 50–950 ramp

primary
#5D8A2F
secondary
#8A62B3
accent
#4FD993
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D8A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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