#5C8331#5C8331

#5C8331 is a mid, moderate yellow-green. Relative luminance 0.187; OKLCH L 56.3% C 0.120 H 130.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#5C8331
RGBrgb(92, 131, 49)
HSLhsl(89, 46%, 35%)
HSVhsv(89, 63%, 51%)
CMYKcmyk(29.8%, 0%, 62.6%, 48.6%)
CIE-LABlab(50.37, -27.90, 39.04)
CIE-LCHlch(50.37, 47.99, 125.55°)
OKLaboklab(56.26% -0.0783 0.0906)
OKLCHoklch(56.26% 0.12 130.8)
XYZxyz(13.0842, 18.7293, 5.8309)
Luminance0.1873 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C8331 #583183
analogous
#838131 #5C8331 #338331
triadic
#5C8331 #315C83 #83315C
tetradic
#5C8331 #318381 #583183 #833133
square
#5C8331 #318381 #583183 #833133
split-complementary
#5C8331 #313383 #813183
monochromatic
#1D2A10 #3D5620 #5C8331 #7BB042 #9AC668

Accessibility & contrast

On white

4.42
#5C8331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#5C8331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5C8331
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C8331#FFFFFF#000000##000000
##5C83311.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A28
Deuteranopia (green-blind)
#837737
Tritanopia (blue-blind)
#5E7E72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5c8331;
/* rgb */ color: rgb(92, 131, 49);
/* oklch */ color: oklch(56.3% 0.120 130.8);
Tailwind
colors: {
  custom: {
    50: '#8da76d',
    500: '#5c8331',
    950: '#000000',
  },
}
SCSS
$custom: #5c8331;
$custom-light: #8da76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c8331",
  "rgb": {
    "r": 92,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 88.537,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.11973,
    "h": 130.8
  },
  "luminance": 0.1873
}

Semantic roles & 50–950 ramp

primary
#5C8331
secondary
#8662AE
accent
#53D591
background
#F8FAF6
surface
#F0F4EC
border
#CBCEC7
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #5C8331

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

Preview Lab → · Contrast checker → · Palette generator →

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