#5C8A39#5C8A39

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

Color values

HEX#5C8A39
RGBrgb(92, 138, 57)
HSLhsl(94, 42%, 38%)
HSVhsv(94, 59%, 54%)
CMYKcmyk(33.3%, 0%, 58.7%, 45.9%)
CIE-LABlab(52.67, -30.44, 37.81)
CIE-LCHlch(52.67, 48.54, 128.84°)
OKLaboklab(58.16% -0.0846 0.0888)
OKLCHoklch(58.16% 0.123 133.6)
XYZxyz(14.2404, 20.7471, 7.1244)
Luminance0.2075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A39 #67398A
analogous
#848A39 #5C8A39 #398A3E
triadic
#5C8A39 #395C8A #8A395C
tetradic
#5C8A39 #39848A #67398A #8A3E39
square
#5C8A39 #39848A #67398A #8A3E39
split-complementary
#5C8A39 #3E398A #8A3984
monochromatic
#223315 #3F5F27 #5C8A39 #79B54B #99C777

Accessibility & contrast

On white

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

On black

5.15
#5C8A39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A39
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A39#FFFFFF#000000##000000
##5C8A391.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8031
Deuteranopia (green-blind)
#897C3F
Tritanopia (blue-blind)
#5C8578
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8a39;
/* rgb */ color: rgb(92, 138, 57);
/* oklch */ color: oklch(58.2% 0.123 133.6);
Tailwind
colors: {
  custom: {
    50: '#8dac72',
    500: '#5c8a39',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a39;
$custom-light: #8dac72;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a39",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 57
  },
  "hsl": {
    "h": 94.074,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.58162,
    "c": 0.12265,
    "h": 133.6
  },
  "luminance": 0.20748
}

Semantic roles & 50–950 ramp

primary
#5C8A39
secondary
#946FB0
accent
#56D19C
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1008
muted
#7D7F7B

Preview Lab

Preview with #5C8A39

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

Preview Lab → · Contrast checker → · Palette generator →

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