#5C7418#5C7418

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

Color values

HEX#5C7418
RGBrgb(92, 116, 24)
HSLhsl(76, 66%, 27%)
HSVhsv(76, 79%, 45%)
CMYKcmyk(20.7%, 0%, 79.3%, 54.5%)
CIE-LABlab(45.40, -22.31, 44.43)
CIE-LCHlch(45.40, 49.72, 116.67°)
OKLaboklab(52.18% -0.0652 0.0981)
OKLCHoklch(52.18% 0.118 123.6)
XYZxyz(10.8240, 14.8320, 3.1566)
Luminance0.1483 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7418 #301874
analogous
#745E18 #5C7418 #2E7418
triadic
#5C7418 #185C74 #74185C
tetradic
#5C7418 #18745E #301874 #74182E
square
#5C7418 #18745E #301874 #74182E
split-complementary
#5C7418 #182E74 #5E1874
monochromatic
#141905 #34410E #5C7418 #84A722 #AAD532

Accessibility & contrast

On white

5.29
#5C7418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#5C7418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7418
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7418#FFFFFF#000000##FFFFFF
##5C74181.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c7418;
/* rgb */ color: rgb(92, 116, 24);
/* oklch */ color: oklch(52.2% 0.118 123.6);
Tailwind
colors: {
  custom: {
    50: '#8d9c5d',
    500: '#5c7418',
    950: '#000000',
  },
}
SCSS
$custom: #5c7418;
$custom-light: #8d9c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7418",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 75.652,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.11784,
    "h": 123.6
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#5C7418
secondary
#5A3FA9
accent
#3FE96B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C7418

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

Preview Lab → · Contrast checker → · Palette generator →

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