#5C8A42#5C8A42

#5C8A42 is a mid, moderate yellow-green. Relative luminance 0.208; OKLCH L 58.3% C 0.114 H 135.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C8A42
RGBrgb(92, 138, 66)
HSLhsl(98, 35%, 40%)
HSVhsv(98, 52%, 54%)
CMYKcmyk(33.3%, 0%, 52.2%, 45.9%)
CIE-LABlab(52.78, -29.39, 33.40)
CIE-LCHlch(52.78, 44.49, 131.35°)
OKLaboklab(58.28% -0.081 0.08)
OKLCHoklch(58.28% 0.114 135.4)
XYZxyz(14.4851, 20.8450, 8.4135)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8A42 #70428A
analogous
#808A42 #5C8A42 #428A4C
triadic
#5C8A42 #425C8A #8A425C
tetradic
#5C8A42 #42808A #70428A #8A4C42
square
#5C8A42 #42808A #70428A #8A4C42
split-complementary
#5C8A42 #4C428A #8A4280
monochromatic
#25371A #40612E #5C8A42 #79B059 #9AC483

Accessibility & contrast

On white

4.06
#5C8A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#5C8A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8A42
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8A42#FFFFFF#000000##000000
##5C8A421.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F803C
Deuteranopia (green-blind)
#887D47
Tritanopia (blue-blind)
#5B8579
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5c8a42;
/* rgb */ color: rgb(92, 138, 66);
/* oklch */ color: oklch(58.3% 0.114 135.4);
Tailwind
colors: {
  custom: {
    50: '#8dac78',
    500: '#5c8a42',
    950: '#000000',
  },
}
SCSS
$custom: #5c8a42;
$custom-light: #8dac78;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8a42",
  "rgb": {
    "r": 92,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 98.333,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.58284,
    "c": 0.11386,
    "h": 135.4
  },
  "luminance": 0.20846
}

Semantic roles & 50–950 ramp

primary
#5C8A42
secondary
#9B79AE
accent
#5CCBA3
background
#F8FAF7
surface
#F0F4ED
border
#CBCEC8
text
#0C1009
muted
#7D7F7B

Preview Lab

Preview with #5C8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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