#5D8A38#5D8A38

#5D8A38 is a mid, vivid yellow-green. Relative luminance 0.208; OKLCH L 58.2% C 0.123 H 133.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#5D8A38
RGBrgb(93, 138, 56)
HSLhsl(93, 42%, 38%)
HSVhsv(93, 59%, 54%)
CMYKcmyk(32.6%, 0%, 59.4%, 45.9%)
CIE-LABlab(52.72, -30.17, 38.36)
CIE-LCHlch(52.72, 48.80, 128.18°)
OKLaboklab(58.21% -0.084 0.0899)
OKLCHoklch(58.21% 0.123 133.1)
XYZxyz(14.3163, 20.7891, 6.9990)
Luminance0.2079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D8A38 #65388A
analogous
#868A38 #5D8A38 #388A3C
triadic
#5D8A38 #385D8A #8A385D
tetradic
#5D8A38 #38868A #65388A #8A3C38
square
#5D8A38 #38868A #65388A #8A3C38
split-complementary
#5D8A38 #3C388A #8A3886
monochromatic
#223315 #405E26 #5D8A38 #7AB54A #9AC775

Accessibility & contrast

On white

4.07
#5D8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#5D8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D8A38
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D8A38#FFFFFF#000000##000000
##5D8A381.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F802F
Deuteranopia (green-blind)
#897D3E
Tritanopia (blue-blind)
#5E8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5d8a38;
/* rgb */ color: rgb(93, 138, 56);
/* oklch */ color: oklch(58.2% 0.123 133.1);
Tailwind
colors: {
  custom: {
    50: '#8eac71',
    500: '#5d8a38',
    950: '#000000',
  },
}
SCSS
$custom: #5d8a38;
$custom-light: #8eac71;
$custom-dark: #000000;
JSON
{
  "hex": "#5d8a38",
  "rgb": {
    "r": 93,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 92.927,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.58211,
    "c": 0.12302,
    "h": 133.1
  },
  "luminance": 0.2079
}

Semantic roles & 50–950 ramp

primary
#5D8A38
secondary
#926EB0
accent
#56D29A
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5D8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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