#5C7516#5C7516

#5C7516 is a mid, vivid yellow-green. Relative luminance 0.151; OKLCH L 52.4% C 0.120 H 123.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#5C7516
RGBrgb(92, 117, 22)
HSLhsl(76, 68%, 27%)
HSVhsv(76, 81%, 46%)
CMYKcmyk(21.4%, 0%, 81.2%, 54.1%)
CIE-LABlab(45.71, -22.92, 45.39)
CIE-LCHlch(45.71, 50.85, 116.79°)
OKLaboklab(52.42% -0.067 0.0998)
OKLCHoklch(52.42% 0.12 123.9)
XYZxyz(10.9199, 15.0557, 3.0897)
Luminance0.1506 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7516 #2F1675
analogous
#755E16 #5C7516 #2D7516
triadic
#5C7516 #165C75 #75165C
tetradic
#5C7516 #16755E #2F1675 #75162D
square
#5C7516 #16755E #2F1675 #75162D
split-complementary
#5C7516 #162D75 #5E1675
monochromatic
#141A05 #33410C #5C7516 #85A920 #ABD82E

Accessibility & contrast

On white

5.24
#5C7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C7516
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7516#FFFFFF#000000##FFFFFF
##5C75161.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#796C20
Tritanopia (blue-blind)
#616F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c7516;
/* rgb */ color: rgb(92, 117, 22);
/* oklch */ color: oklch(52.4% 0.120 123.9);
Tailwind
colors: {
  custom: {
    50: '#8d9c5c',
    500: '#5c7516',
    950: '#000000',
  },
}
SCSS
$custom: #5c7516;
$custom-light: #8d9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7516",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 75.789,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.12025,
    "h": 123.9
  },
  "luminance": 0.15056
}

Semantic roles & 50–950 ramp

primary
#5C7516
secondary
#593CAB
accent
#3DEB6B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7516

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

Preview Lab → · Contrast checker → · Palette generator →

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