#5C7718#5C7718

#5C7718 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.122 H 124.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5C7718
RGBrgb(92, 119, 24)
HSLhsl(77, 66%, 28%)
HSVhsv(77, 80%, 47%)
CMYKcmyk(22.7%, 0%, 79.8%, 53.3%)
CIE-LABlab(46.36, -23.83, 45.32)
CIE-LCHlch(46.36, 51.21, 117.74°)
OKLaboklab(52.95% -0.0694 0.1)
OKLCHoklch(52.95% 0.122 124.7)
XYZxyz(11.1754, 15.5348, 3.2737)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7718 #331877
analogous
#776318 #5C7718 #2C7718
triadic
#5C7718 #185C77 #77185C
tetradic
#5C7718 #187763 #331877 #77182C
square
#5C7718 #187763 #331877 #77182C
split-complementary
#5C7718 #182C77 #631877
monochromatic
#141905 #35440E #5C7718 #83AA22 #A8D633

Accessibility & contrast

On white

5.11
#5C7718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5C7718 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7718
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7718#FFFFFF#000000##FFFFFF
##5C77181.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F01
Deuteranopia (green-blind)
#7A6E21
Tritanopia (blue-blind)
#617165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c7718;
/* rgb */ color: rgb(92, 119, 24);
/* oklch */ color: oklch(52.9% 0.122 124.7);
Tailwind
colors: {
  custom: {
    50: '#8d9e5d',
    500: '#5c7718',
    950: '#000000',
  },
}
SCSS
$custom: #5c7718;
$custom-light: #8d9e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7718",
  "rgb": {
    "r": 92,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 77.053,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.12174,
    "h": 124.7
  },
  "luminance": 0.15535
}

Semantic roles & 50–950 ramp

primary
#5C7718
secondary
#5E3FAC
accent
#3EE96F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5C7718

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

Preview Lab → · Contrast checker → · Palette generator →

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