#5C7311#5C7311

#5C7311 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.9% C 0.120 H 122.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5C7311
RGBrgb(92, 115, 17)
HSLhsl(74, 74%, 26%)
HSVhsv(74, 85%, 45%)
CMYKcmyk(20%, 0%, 85.2%, 54.9%)
CIE-LABlab(45.05, -22.13, 46.34)
CIE-LCHlch(45.05, 51.36, 115.52°)
OKLaboklab(51.88% -0.0653 0.101)
OKLCHoklch(51.88% 0.12 122.9)
XYZxyz(10.6457, 14.5772, 2.7830)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7311 #281173
analogous
#735911 #5C7311 #2B7311
triadic
#5C7311 #115C73 #73115C
tetradic
#5C7311 #117359 #281173 #73112B
square
#5C7311 #117359 #281173 #73112B
split-complementary
#5C7311 #112B73 #591173
monochromatic
#151B04 #313E09 #5C7311 #87A819 #B1DE21

Accessibility & contrast

On white

5.36
#5C7311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#5C7311 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7311
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7311#FFFFFF#000000##FFFFFF
##5C73111.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#776A1C
Tritanopia (blue-blind)
#616D61
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c7311;
/* rgb */ color: rgb(92, 115, 17);
/* oklch */ color: oklch(51.9% 0.120 122.9);
Tailwind
colors: {
  custom: {
    50: '#8d9b5a',
    500: '#5c7311',
    950: '#000000',
  },
}
SCSS
$custom: #5c7311;
$custom-light: #8d9b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7311",
  "rgb": {
    "r": 92,
    "g": 115,
    "b": 17
  },
  "hsl": {
    "h": 74.082,
    "s": 74.242,
    "l": 25.882
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.12021,
    "h": 122.9
  },
  "luminance": 0.14577
}

Semantic roles & 50–950 ramp

primary
#5C7311
secondary
#5136AA
accent
#37F163
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7311

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

Preview Lab → · Contrast checker → · Palette generator →

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