#5C7415#5C7415

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

Color values

HEX#5C7415
RGBrgb(92, 116, 21)
HSLhsl(75, 69%, 27%)
HSVhsv(75, 82%, 45%)
CMYKcmyk(20.7%, 0%, 81.9%, 54.5%)
CIE-LABlab(45.39, -22.46, 45.42)
CIE-LCHlch(45.39, 50.68, 116.31°)
OKLaboklab(52.16% -0.0659 0.0997)
OKLCHoklch(52.16% 0.12 123.5)
XYZxyz(10.7945, 14.8202, 3.0012)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7415 #2D1574
analogous
#745D15 #5C7415 #2D7415
triadic
#5C7415 #155C74 #74155C
tetradic
#5C7415 #15745D #2D1574 #74152D
square
#5C7415 #15745D #2D1574 #74152D
split-complementary
#5C7415 #152D74 #5D1574
monochromatic
#151A05 #33400C #5C7415 #85A81E #ADD92B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7415#FFFFFF#000000##FFFFFF
##5C74151.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: #5c7415;
/* rgb */ color: rgb(92, 116, 21);
/* oklch */ color: oklch(52.2% 0.120 123.5);
Tailwind
colors: {
  custom: {
    50: '#8d9c5c',
    500: '#5c7415',
    950: '#000000',
  },
}
SCSS
$custom: #5c7415;
$custom-light: #8d9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7415",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 21
  },
  "hsl": {
    "h": 75.158,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52157,
    "c": 0.11951,
    "h": 123.5
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#5C7415
secondary
#573BAA
accent
#3CEC68
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7415

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

Preview Lab → · Contrast checker → · Palette generator →

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