#5C7331#5C7331

#5C7331 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.2% C 0.096 H 125.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#5C7331
RGBrgb(92, 115, 49)
HSLhsl(81, 40%, 32%)
HSVhsv(81, 57%, 45%)
CMYKcmyk(20%, 0%, 57.4%, 54.9%)
CIE-LABlab(45.30, -19.84, 33.27)
CIE-LCHlch(45.30, 38.74, 120.81°)
OKLaboklab(52.16% -0.056 0.0782)
OKLCHoklch(52.16% 0.096 125.6)
XYZxyz(11.0987, 14.7584, 5.1691)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7331 #483173
analogous
#736931 #5C7331 #3B7331
triadic
#5C7331 #315C73 #73315C
tetradic
#5C7331 #317369 #483173 #73313B
square
#5C7331 #317369 #483173 #73313B
split-complementary
#5C7331 #313B73 #693173
monochromatic
#171D0C #3A481F #5C7331 #7E9E43 #9DBC62

Accessibility & contrast

On white

5.31
#5C7331 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5C7331 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7331
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7331#FFFFFF#000000##FFFFFF
##5C73311.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C2A
Deuteranopia (green-blind)
#766B35
Tritanopia (blue-blind)
#606E64
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c7331;
/* rgb */ color: rgb(92, 115, 49);
/* oklch */ color: oklch(52.2% 0.096 125.6);
Tailwind
colors: {
  custom: {
    50: '#8c9b6b',
    500: '#5c7331',
    950: '#000000',
  },
}
SCSS
$custom: #5c7331;
$custom-light: #8c9b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7331",
  "rgb": {
    "r": 92,
    "g": 115,
    "b": 49
  },
  "hsl": {
    "h": 80.909,
    "s": 40.244,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.09618,
    "h": 125.6
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#5C7331
secondary
#755CA4
accent
#58D082
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E07
muted
#7D7E7A

Preview Lab

Preview with #5C7331

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

Preview Lab → · Contrast checker → · Palette generator →

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