#5C7326#5C7326

#5C7326 is a mid, moderate yellow-green. Relative luminance 0.147; OKLCH L 52.0% C 0.106 H 124.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#5C7326
RGBrgb(92, 115, 38)
HSLhsl(78, 50%, 30%)
HSVhsv(78, 67%, 45%)
CMYKcmyk(20%, 0%, 67%, 54.9%)
CIE-LABlab(45.19, -20.86, 38.50)
CIE-LCHlch(45.19, 43.79, 118.45°)
OKLaboklab(52.03% -0.0599 0.088)
OKLCHoklch(52.03% 0.106 124.2)
XYZxyz(10.8943, 14.6766, 4.0923)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7326 #3D2673
analogous
#736326 #5C7326 #367326
triadic
#5C7326 #265C73 #73265C
tetradic
#5C7326 #267363 #3D2673 #732636
square
#5C7326 #267363 #3D2673 #732636
split-complementary
#5C7326 #263673 #632673
monochromatic
#121708 #374517 #5C7326 #81A135 #A1C54F

Accessibility & contrast

On white

5.34
#5C7326 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#5C7326 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7326
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7326#FFFFFF#000000##FFFFFF
##5C73261.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1C
Deuteranopia (green-blind)
#766B2C
Tritanopia (blue-blind)
#606D63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c7326;
/* rgb */ color: rgb(92, 115, 38);
/* oklch */ color: oklch(52.0% 0.106 124.2);
Tailwind
colors: {
  custom: {
    50: '#8c9b64',
    500: '#5c7326',
    950: '#000000',
  },
}
SCSS
$custom: #5c7326;
$custom-light: #8c9b64;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7326",
  "rgb": {
    "r": 92,
    "g": 115,
    "b": 38
  },
  "hsl": {
    "h": 77.922,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.52034,
    "c": 0.10645,
    "h": 124.2
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#5C7326
secondary
#694FA6
accent
#4EDA78
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5C7326

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

Preview Lab → · Contrast checker → · Palette generator →

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