#5C7313#5C7313

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

Color values

HEX#5C7313
RGBrgb(92, 115, 19)
HSLhsl(74, 72%, 26%)
HSVhsv(74, 83%, 45%)
CMYKcmyk(20%, 0%, 83.5%, 54.9%)
CIE-LABlab(45.06, -22.04, 45.76)
CIE-LCHlch(45.06, 50.79, 115.72°)
OKLaboklab(51.89% -0.0649 0.1001)
OKLCHoklch(51.89% 0.119 123)
XYZxyz(10.6621, 14.5837, 2.8692)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7313 #2A1373
analogous
#735A13 #5C7313 #2C7313
triadic
#5C7313 #135C73 #73135C
tetradic
#5C7313 #13735A #2A1373 #73132C
square
#5C7313 #13735A #2A1373 #73132C
split-complementary
#5C7313 #132C73 #5A1373
monochromatic
#151A04 #323E0A #5C7313 #86A81C #B0DB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7313#FFFFFF#000000##FFFFFF
##5C73131.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)
#776B1D
Tritanopia (blue-blind)
#616D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c7313;
/* rgb */ color: rgb(92, 115, 19);
/* oklch */ color: oklch(51.9% 0.119 123.0);
Tailwind
colors: {
  custom: {
    50: '#8d9b5b',
    500: '#5c7313',
    950: '#000000',
  },
}
SCSS
$custom: #5c7313;
$custom-light: #8d9b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7313",
  "rgb": {
    "r": 92,
    "g": 115,
    "b": 19
  },
  "hsl": {
    "h": 74.375,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.11925,
    "h": 123
  },
  "luminance": 0.14584
}

Semantic roles & 50–950 ramp

primary
#5C7313
secondary
#5338AA
accent
#39EE65
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7313

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

Preview Lab → · Contrast checker → · Palette generator →

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