#5C712F#5C712F

#5C712F is a mid, moderate yellow-green. Relative luminance 0.143; OKLCH L 51.6% C 0.095 H 124.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5C712F
RGBrgb(92, 113, 47)
HSLhsl(79, 41%, 31%)
HSVhsv(79, 58%, 44%)
CMYKcmyk(18.6%, 0%, 58.4%, 55.7%)
CIE-LABlab(44.65, -18.99, 33.54)
CIE-LCHlch(44.65, 38.54, 119.53°)
OKLaboklab(51.63% -0.0538 0.0786)
OKLCHoklch(51.63% 0.095 124.4)
XYZxyz(10.8319, 14.2907, 4.8765)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C712F #442F71
analogous
#71652F #5C712F #3B712F
triadic
#5C712F #2F5C71 #712F5C
tetradic
#5C712F #2F7165 #442F71 #712F3B
square
#5C712F #2F7165 #442F71 #712F3B
split-complementary
#5C712F #2F3B71 #652F71
monochromatic
#161B0B #39461D #5C712F #7F9C41 #9EBC5E

Accessibility & contrast

On white

5.44
#5C712F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#5C712F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C712F
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C712F#FFFFFF#000000##FFFFFF
##5C712F1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A28
Deuteranopia (green-blind)
#746933
Tritanopia (blue-blind)
#606C62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #5c712f;
/* rgb */ color: rgb(92, 113, 47);
/* oklch */ color: oklch(51.6% 0.095 124.4);
Tailwind
colors: {
  custom: {
    50: '#8c996a',
    500: '#5c712f',
    950: '#000000',
  },
}
SCSS
$custom: #5c712f;
$custom-light: #8c996a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c712f",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 47
  },
  "hsl": {
    "h": 79.091,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.09523,
    "h": 124.4
  },
  "luminance": 0.14291
}

Semantic roles & 50–950 ramp

primary
#5C712F
secondary
#715AA2
accent
#57D17E
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5C712F

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

Preview Lab → · Contrast checker → · Palette generator →

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