#5C6840#5C6840

#5C6840 is a mid, moderate yellow-green. Relative luminance 0.125; OKLCH L 49.6% C 0.061 H 122.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5C6840
RGBrgb(92, 104, 64)
HSLhsl(78, 24%, 33%)
HSVhsv(78, 38%, 41%)
CMYKcmyk(11.5%, 0%, 38.5%, 59.2%)
CIE-LABlab(42.07, -12.01, 21.05)
CIE-LCHlch(42.07, 24.23, 119.71°)
OKLaboklab(49.64% -0.0328 0.052)
OKLCHoklch(49.64% 0.061 122.2)
XYZxyz(10.2893, 12.5461, 6.7291)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6840 #4C4068
analogous
#686040 #5C6840 #486840
triadic
#5C6840 #405C68 #68405C
tetradic
#5C6840 #406860 #4C4068 #684048
square
#5C6840 #406860 #4C4068 #684048
split-complementary
#5C6840 #404868 #604068
monochromatic
#191C11 #3A4229 #5C6840 #7E8E57 #9CAB77

Accessibility & contrast

On white

5.98
#5C6840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5C6840 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6840
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6840#FFFFFF#000000##FFFFFF
##5C68401.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D643D
Deuteranopia (green-blind)
#6B6342
Tritanopia (blue-blind)
#5F645E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c6840;
/* rgb */ color: rgb(92, 104, 64);
/* oklch */ color: oklch(49.6% 0.061 122.2);
Tailwind
colors: {
  custom: {
    50: '#8b9375',
    500: '#5c6840',
    950: '#000000',
  },
}
SCSS
$custom: #5c6840;
$custom-light: #8b9375;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6840",
  "rgb": {
    "r": 92,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 78,
    "s": 23.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.06142,
    "h": 122.2
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#5C6840
secondary
#7A6D97
accent
#68C082
background
#F8F9F7
surface
#F0F1ED
border
#CBCBC8
text
#0C0D08
muted
#7D7E7B

Preview Lab

Preview with #5C6840

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

Preview Lab → · Contrast checker → · Palette generator →

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