#5C7514#5C7514

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

Color values

HEX#5C7514
RGBrgb(92, 117, 20)
HSLhsl(75, 71%, 27%)
HSVhsv(75, 83%, 46%)
CMYKcmyk(21.4%, 0%, 82.9%, 54.1%)
CIE-LABlab(45.70, -23.02, 46.03)
CIE-LCHlch(45.70, 51.46, 116.57°)
OKLaboklab(52.41% -0.0675 0.1008)
OKLCHoklch(52.41% 0.121 123.8)
XYZxyz(10.9013, 15.0483, 2.9920)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7514 #2D1475
analogous
#755E14 #5C7514 #2C7514
triadic
#5C7514 #145C75 #75145C
tetradic
#5C7514 #14755E #2D1475 #75142C
square
#5C7514 #14755E #2D1475 #75142C
split-complementary
#5C7514 #142C75 #5E1475
monochromatic
#151A04 #33410B #5C7514 #85A91D #ADDA29

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C7514#FFFFFF#000000##FFFFFF
##5C75141.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)
#796C1E
Tritanopia (blue-blind)
#616F63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5c7514;
/* rgb */ color: rgb(92, 117, 20);
/* oklch */ color: oklch(52.4% 0.121 123.8);
Tailwind
colors: {
  custom: {
    50: '#8d9c5b',
    500: '#5c7514',
    950: '#000000',
  },
}
SCSS
$custom: #5c7514;
$custom-light: #8d9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7514",
  "rgb": {
    "r": 92,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 75.464,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.1213,
    "h": 123.8
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#5C7514
secondary
#573AAB
accent
#3AEE68
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7514

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

Preview Lab → · Contrast checker → · Palette generator →

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