#5D8830#5D8830

#5D8830 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.6% C 0.127 H 131.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5D8830
RGBrgb(93, 136, 48)
HSLhsl(89, 48%, 36%)
HSVhsv(89, 65%, 53%)
CMYKcmyk(31.6%, 0%, 64.7%, 46.7%)
CIE-LABlab(52.00, -30.00, 41.33)
CIE-LCHlch(52.00, 51.07, 125.97°)
OKLaboklab(57.61% -0.0842 0.0953)
OKLCHoklch(57.61% 0.127 131.5)
XYZxyz(13.8517, 20.1484, 5.9550)
Luminance0.2015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8830 #5B3088
analogous
#888730 #5D8830 #318830
triadic
#5D8830 #305D88 #88305D
tetradic
#5D8830 #308887 #5B3088 #883031
square
#5D8830 #308887 #5B3088 #883031
split-complementary
#5D8830 #303188 #873088
monochromatic
#1F2E10 #3E5B20 #5D8830 #7CB540 #9ACA69

Accessibility & contrast

On white

4.18
#5D8830 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#5D8830 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8830
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8830#FFFFFF#000000##000000
##5D88301.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E25
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#5F8276
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5d8830;
/* rgb */ color: rgb(93, 136, 48);
/* oklch */ color: oklch(57.6% 0.127 131.5);
Tailwind
colors: {
  custom: {
    50: '#8eab6c',
    500: '#5d8830',
    950: '#000000',
  },
}
SCSS
$custom: #5d8830;
$custom-light: #8eab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8830",
  "rgb": {
    "r": 93,
    "g": 136,
    "b": 48
  },
  "hsl": {
    "h": 89.318,
    "s": 47.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57605,
    "c": 0.12719,
    "h": 131.5
  },
  "luminance": 0.20149
}

Semantic roles & 50–950 ramp

primary
#5D8830
secondary
#8963B1
accent
#50D792
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D8830

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

Preview Lab → · Contrast checker → · Palette generator →

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