#5C7315#5C7315

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

Color values

HEX#5C7315
RGBrgb(92, 115, 21)
HSLhsl(75, 69%, 27%)
HSVhsv(75, 82%, 45%)
CMYKcmyk(20%, 0%, 81.7%, 54.9%)
CIE-LABlab(45.07, -21.95, 45.13)
CIE-LCHlch(45.07, 50.19, 115.94°)
OKLaboklab(51.9% -0.0645 0.0991)
OKLCHoklch(51.9% 0.118 123.1)
XYZxyz(10.6799, 14.5909, 2.9630)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7315 #2C1573
analogous
#735B15 #5C7315 #2D7315
triadic
#5C7315 #155C73 #73155C
tetradic
#5C7315 #15735B #2C1573 #73152D
square
#5C7315 #15735B #2C1573 #73152D
split-complementary
#5C7315 #152D73 #5B1573
monochromatic
#151A05 #333F0C #5C7315 #85A71E #AED82A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5c7315;
/* rgb */ color: rgb(92, 115, 21);
/* oklch */ color: oklch(51.9% 0.118 123.1);
Tailwind
colors: {
  custom: {
    50: '#8d9b5c',
    500: '#5c7315',
    950: '#000000',
  },
}
SCSS
$custom: #5c7315;
$custom-light: #8d9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7315",
  "rgb": {
    "r": 92,
    "g": 115,
    "b": 21
  },
  "hsl": {
    "h": 74.681,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.519,
    "c": 0.11822,
    "h": 123.1
  },
  "luminance": 0.14591
}

Semantic roles & 50–950 ramp

primary
#5C7315
secondary
#563BA9
accent
#3CEC67
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7315

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

Preview Lab → · Contrast checker → · Palette generator →

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