#5C7518#5C7518

#5C7518 is a mid, moderate yellow-green. Relative luminance 0.151; OKLCH L 52.4% C 0.119 H 124.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#5C7518
RGBrgb(92, 117, 24)
HSLhsl(76, 66%, 28%)
HSVhsv(76, 79%, 46%)
CMYKcmyk(21.4%, 0%, 79.5%, 54.1%)
CIE-LABlab(45.72, -22.82, 44.73)
CIE-LCHlch(45.72, 50.21, 117.03°)
OKLaboklab(52.43% -0.0666 0.0988)
OKLCHoklch(52.43% 0.119 124)
XYZxyz(10.9399, 15.0637, 3.1952)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7518 #311875
analogous
#755F18 #5C7518 #2E7518
triadic
#5C7518 #185C75 #75185C
tetradic
#5C7518 #18755F #311875 #75182E
square
#5C7518 #18755F #311875 #75182E
split-complementary
#5C7518 #182E75 #5F1875
monochromatic
#141905 #34420E #5C7518 #84A822 #A9D532

Accessibility & contrast

On white

5.23
#5C7518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#5C7518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7518
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7518#FFFFFF#000000##FFFFFF
##5C75181.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D02
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#616F64
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c7518;
/* rgb */ color: rgb(92, 117, 24);
/* oklch */ color: oklch(52.4% 0.119 124.0);
Tailwind
colors: {
  custom: {
    50: '#8d9c5d',
    500: '#5c7518',
    950: '#000000',
  },
}
SCSS
$custom: #5c7518;
$custom-light: #8d9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7518",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 76.129,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.11913,
    "h": 124
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#5C7518
secondary
#5C3FAA
accent
#3FE96D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5C7518

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

Preview Lab → · Contrast checker → · Palette generator →

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