#5D8A30#5D8A30

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

Color values

HEX#5D8A30
RGBrgb(93, 138, 48)
HSLhsl(90, 48%, 36%)
HSVhsv(90, 65%, 54%)
CMYKcmyk(32.6%, 0%, 65.2%, 45.9%)
CIE-LABlab(52.64, -30.94, 42.02)
CIE-LCHlch(52.64, 52.19, 126.37°)
OKLaboklab(58.12% -0.0868 0.0968)
OKLCHoklch(58.12% 0.13 131.9)
XYZxyz(14.1360, 20.7170, 6.0497)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A30 #5D308A
analogous
#8A8A30 #5D8A30 #308A30
triadic
#5D8A30 #305D8A #8A305D
tetradic
#5D8A30 #308A8A #5D308A #8A3030
square
#5D8A30 #308A8A #5D308A #8A3030
split-complementary
#5D8A30 #30308A #8A308A
monochromatic
#202F10 #3E5D20 #5D8A30 #7CB740 #9ACB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D8A30#FFFFFF#000000##000000
##5D8A301.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)
#908025
Deuteranopia (green-blind)
#8A7C37
Tritanopia (blue-blind)
#5E8477
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a30;
/* rgb */ color: rgb(93, 138, 48);
/* oklch */ color: oklch(58.1% 0.130 131.9);
Tailwind
colors: {
  custom: {
    50: '#8eac6d',
    500: '#5d8a30',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a30;
$custom-light: #8eac6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a30",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 90,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.13,
    "h": 131.9
  },
  "luminance": 0.20718
}

Semantic roles & 50–950 ramp

primary
#5D8A30
secondary
#8B64B2
accent
#50D894
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0D1007
muted
#7D7F7A

Preview Lab

Preview with #5D8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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