#5D8530#5D8530

#5D8530 is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.8% C 0.123 H 130.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#5D8530
RGBrgb(93, 133, 48)
HSLhsl(88, 47%, 35%)
HSVhsv(88, 64%, 52%)
CMYKcmyk(30.1%, 0%, 63.9%, 47.8%)
CIE-LABlab(51.05, -28.57, 40.29)
CIE-LCHlch(51.05, 49.39, 125.34°)
OKLaboklab(56.83% -0.0803 0.0931)
OKLCHoklch(56.83% 0.123 130.8)
XYZxyz(13.4351, 19.3152, 5.8161)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8530 #583085
analogous
#858230 #5D8530 #338530
triadic
#5D8530 #305D85 #85305D
tetradic
#5D8530 #308582 #583085 #853033
square
#5D8530 #308582 #583085 #853033
split-complementary
#5D8530 #303385 #823085
monochromatic
#1E2B10 #3E5820 #5D8530 #7CB240 #9BC867

Accessibility & contrast

On white

4.32
#5D8530 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#5D8530 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8530
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8530#FFFFFF#000000##000000
##5D85301.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7C26
Deuteranopia (green-blind)
#857936
Tritanopia (blue-blind)
#5F8073
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5d8530;
/* rgb */ color: rgb(93, 133, 48);
/* oklch */ color: oklch(56.8% 0.123 130.8);
Tailwind
colors: {
  custom: {
    50: '#8ea86c',
    500: '#5d8530',
    950: '#000000',
  },
}
SCSS
$custom: #5d8530;
$custom-light: #8ea86c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8530",
  "rgb": {
    "r": 93,
    "g": 133,
    "b": 48
  },
  "hsl": {
    "h": 88.235,
    "s": 46.961,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56833,
    "c": 0.12293,
    "h": 130.8
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#5D8530
secondary
#8661AF
accent
#51D790
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5D8530

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

Preview Lab → · Contrast checker → · Palette generator →

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