#5C7316#5C7316

#5C7316 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#5C7316
RGBrgb(92, 115, 22)
HSLhsl(75, 68%, 27%)
HSVhsv(75, 81%, 45%)
CMYKcmyk(20%, 0%, 80.9%, 54.9%)
CIE-LABlab(45.07, -21.90, 44.81)
CIE-LCHlch(45.07, 49.87, 116.05°)
OKLaboklab(51.91% -0.0643 0.0986)
OKLCHoklch(51.91% 0.118 123.1)
XYZxyz(10.6893, 14.5946, 3.0128)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7316 #2D1673
analogous
#735C16 #5C7316 #2E7316
triadic
#5C7316 #165C73 #73165C
tetradic
#5C7316 #16735C #2D1673 #73162E
square
#5C7316 #16735C #2D1673 #73162E
split-complementary
#5C7316 #162E73 #5C1673
monochromatic
#151A05 #33400C #5C7316 #85A620 #ADD72D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7316#FFFFFF#000000##FFFFFF
##5C73161.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: #5c7316;
/* rgb */ color: rgb(92, 115, 22);
/* oklch */ color: oklch(51.9% 0.118 123.1);
Tailwind
colors: {
  custom: {
    50: '#8d9b5c',
    500: '#5c7316',
    950: '#000000',
  },
}
SCSS
$custom: #5c7316;
$custom-light: #8d9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7316",
  "rgb": {
    "r": 92,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 74.839,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51906,
    "c": 0.11768,
    "h": 123.1
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#5C7316
secondary
#573CA9
accent
#3DEB68
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7316

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

Preview Lab → · Contrast checker → · Palette generator →

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