#5C7846#5C7846

#5C7846 is a mid, moderate yellow-green. Relative luminance 0.162; OKLCH L 53.8% C 0.081 H 132.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#5C7846
RGBrgb(92, 120, 70)
HSLhsl(94, 26%, 37%)
HSVhsv(94, 42%, 47%)
CMYKcmyk(23.3%, 0%, 41.7%, 52.9%)
CIE-LABlab(47.17, -19.83, 24.23)
CIE-LCHlch(47.17, 31.31, 129.29°)
OKLaboklab(53.76% -0.0544 0.0595)
OKLCHoklch(53.76% 0.081 132.4)
XYZxyz(12.2354, 16.1502, 8.2658)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7846 #624678
analogous
#757846 #5C7846 #467849
triadic
#5C7846 #465C78 #78465C
tetradic
#5C7846 #467578 #624678 #784946
square
#5C7846 #467578 #624678 #784946
split-complementary
#5C7846 #494678 #784675
monochromatic
#212B19 #3E512F #5C7846 #7A9F5D #99B682

Accessibility & contrast

On white

4.96
#5C7846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#5C7846 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7846
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7846#FFFFFF#000000##FFFFFF
##5C78461.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7142
Deuteranopia (green-blind)
#786F49
Tritanopia (blue-blind)
#5D746C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #5c7846;
/* rgb */ color: rgb(92, 120, 70);
/* oklch */ color: oklch(53.8% 0.081 132.4);
Tailwind
colors: {
  custom: {
    50: '#8b9f7a',
    500: '#5c7846',
    950: '#000000',
  },
}
SCSS
$custom: #5c7846;
$custom-light: #8b9f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7846",
  "rgb": {
    "r": 92,
    "g": 120,
    "b": 70
  },
  "hsl": {
    "h": 93.6,
    "s": 26.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.53765,
    "c": 0.08062,
    "h": 132.4
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#5C7846
secondary
#8F78A2
accent
#65C39A
background
#F8F9F7
surface
#F0F2ED
border
#CBCCC8
text
#0C0E09
muted
#7D7E7B

Preview Lab

Preview with #5C7846

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

Preview Lab → · Contrast checker → · Palette generator →

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