#5C7416#5C7416

#5C7416 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.2% C 0.119 H 123.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5C7416
RGBrgb(92, 116, 22)
HSLhsl(75, 68%, 27%)
HSVhsv(75, 81%, 45%)
CMYKcmyk(20.7%, 0%, 81%, 54.5%)
CIE-LABlab(45.39, -22.41, 45.10)
CIE-LCHlch(45.39, 50.36, 116.43°)
OKLaboklab(52.16% -0.0657 0.0992)
OKLCHoklch(52.16% 0.119 123.5)
XYZxyz(10.8040, 14.8239, 3.0510)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7416 #2E1674
analogous
#745D16 #5C7416 #2D7416
triadic
#5C7416 #165C74 #74165C
tetradic
#5C7416 #16745D #2E1674 #74162D
square
#5C7416 #16745D #2E1674 #74162D
split-complementary
#5C7416 #162D74 #5D1674
monochromatic
#141A05 #33410C #5C7416 #85A720 #ACD72D

Accessibility & contrast

On white

5.30
#5C7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5C7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7416
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7416#FFFFFF#000000##FFFFFF
##5C74161.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#616E63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c7416;
/* rgb */ color: rgb(92, 116, 22);
/* oklch */ color: oklch(52.2% 0.119 123.5);
Tailwind
colors: {
  custom: {
    50: '#8d9c5c',
    500: '#5c7416',
    950: '#000000',
  },
}
SCSS
$custom: #5c7416;
$custom-light: #8d9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7416",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 75.319,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52163,
    "c": 0.11896,
    "h": 123.5
  },
  "luminance": 0.14824
}

Semantic roles & 50–950 ramp

primary
#5C7416
secondary
#583CAA
accent
#3DEB69
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7416

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

Preview Lab → · Contrast checker → · Palette generator →

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