#5C712A#5C712A

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

Color values

HEX#5C712A
RGBrgb(92, 113, 42)
HSLhsl(78, 46%, 30%)
HSVhsv(78, 63%, 44%)
CMYKcmyk(18.6%, 0%, 62.8%, 55.7%)
CIE-LABlab(44.59, -19.48, 35.97)
CIE-LCHlch(44.59, 40.90, 118.43°)
OKLaboklab(51.57% -0.0556 0.0832)
OKLCHoklch(51.57% 0.1 123.8)
XYZxyz(10.7367, 14.2527, 4.3754)
Luminance0.1425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C712A #3F2A71
analogous
#71622A #5C712A #39712A
triadic
#5C712A #2A5C71 #712A5C
tetradic
#5C712A #2A7162 #3F2A71 #712A39
square
#5C712A #2A7162 #3F2A71 #712A39
split-complementary
#5C712A #2A3971 #622A71
monochromatic
#131809 #384419 #5C712A #809E3B #A0C055

Accessibility & contrast

On white

5.45
#5C712A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#5C712A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C712A
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C712A#FFFFFF#000000##FFFFFF
##5C712A1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A22
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#606C62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5c712a;
/* rgb */ color: rgb(92, 113, 42);
/* oklch */ color: oklch(51.6% 0.100 123.8);
Tailwind
colors: {
  custom: {
    50: '#8c9967',
    500: '#5c712a',
    950: '#000000',
  },
}
SCSS
$custom: #5c712a;
$custom-light: #8c9967;
$custom-dark: #000000;
JSON
{
  "hex": "#5c712a",
  "rgb": {
    "r": 92,
    "g": 113,
    "b": 42
  },
  "hsl": {
    "h": 77.746,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51567,
    "c": 0.10007,
    "h": 123.8
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#5C712A
secondary
#6B54A3
accent
#52D579
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5C712A

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

Preview Lab → · Contrast checker → · Palette generator →

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