#5C7613#5C7613

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

Color values

HEX#5C7613
RGBrgb(92, 118, 19)
HSLhsl(76, 72%, 27%)
HSVhsv(76, 84%, 46%)
CMYKcmyk(22%, 0%, 83.9%, 53.7%)
CIE-LABlab(46.01, -23.57, 46.61)
CIE-LCHlch(46.01, 52.23, 116.82°)
OKLaboklab(52.66% -0.069 0.1019)
OKLCHoklch(52.66% 0.123 124.1)
XYZxyz(11.0097, 15.2791, 2.9851)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7613 #2D1376
analogous
#765F13 #5C7613 #2A7613
triadic
#5C7613 #135C76 #76135C
tetradic
#5C7613 #13765F #2D1376 #76132A
square
#5C7613 #13765F #2D1376 #76132A
split-complementary
#5C7613 #132A76 #5F1376
monochromatic
#151A04 #33410B #5C7613 #85AB1B #ADDC27

Accessibility & contrast

On white

5.18
#5C7613 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C7613
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7613#FFFFFF#000000##FFFFFF
##5C76131.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c7613;
/* rgb */ color: rgb(92, 118, 19);
/* oklch */ color: oklch(52.7% 0.123 124.1);
Tailwind
colors: {
  custom: {
    50: '#8e9d5b',
    500: '#5c7613',
    950: '#000000',
  },
}
SCSS
$custom: #5c7613;
$custom-light: #8e9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7613",
  "rgb": {
    "r": 92,
    "g": 118,
    "b": 19
  },
  "hsl": {
    "h": 75.758,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52662,
    "c": 0.12306,
    "h": 124.1
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

primary
#5C7613
secondary
#5739AC
accent
#39EF69
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7613

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

Preview Lab → · Contrast checker → · Palette generator →

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