#5C7618#5C7618

#5C7618 is a mid, vivid yellow-green. Relative luminance 0.153; OKLCH L 52.7% C 0.120 H 124.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#5C7618
RGBrgb(92, 118, 24)
HSLhsl(77, 66%, 28%)
HSVhsv(77, 80%, 46%)
CMYKcmyk(22%, 0%, 79.7%, 53.7%)
CIE-LABlab(46.04, -23.33, 45.03)
CIE-LCHlch(46.04, 50.71, 117.39°)
OKLaboklab(52.69% -0.068 0.0994)
OKLCHoklch(52.69% 0.12 124.4)
XYZxyz(11.0570, 15.2980, 3.2343)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7618 #321876
analogous
#766118 #5C7618 #2D7618
triadic
#5C7618 #185C76 #76185C
tetradic
#5C7618 #187661 #321876 #76182D
square
#5C7618 #187661 #321876 #76182D
split-complementary
#5C7618 #182D76 #611876
monochromatic
#141905 #34430E #5C7618 #84A922 #A9D533

Accessibility & contrast

On white

5.17
#5C7618 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#5C7618 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7618
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7618#FFFFFF#000000##FFFFFF
##5C76181.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E02
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#617064
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5c7618;
/* rgb */ color: rgb(92, 118, 24);
/* oklch */ color: oklch(52.7% 0.120 124.4);
Tailwind
colors: {
  custom: {
    50: '#8d9d5d',
    500: '#5c7618',
    950: '#000000',
  },
}
SCSS
$custom: #5c7618;
$custom-light: #8d9d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7618",
  "rgb": {
    "r": 92,
    "g": 118,
    "b": 24
  },
  "hsl": {
    "h": 76.596,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.12043,
    "h": 124.4
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#5C7618
secondary
#5D3FAB
accent
#3FE96E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5C7618

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

Preview Lab → · Contrast checker → · Palette generator →

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