#5C7414#5C7414

#5C7414 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 52.2% C 0.120 H 123.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5C7414
RGBrgb(92, 116, 20)
HSLhsl(75, 71%, 27%)
HSVhsv(75, 83%, 45%)
CMYKcmyk(20.7%, 0%, 82.8%, 54.5%)
CIE-LABlab(45.38, -22.51, 45.74)
CIE-LCHlch(45.38, 50.98, 116.20°)
OKLaboklab(52.15% -0.0661 0.1002)
OKLCHoklch(52.15% 0.12 123.4)
XYZxyz(10.7854, 14.8165, 2.9534)
Luminance0.1482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C7414 #2C1474
analogous
#745C14 #5C7414 #2C7414
triadic
#5C7414 #145C74 #74145C
tetradic
#5C7414 #14745C #2C1474 #74142C
square
#5C7414 #14745C #2C1474 #74142C
split-complementary
#5C7414 #142C74 #5C1474
monochromatic
#151A05 #33400B #5C7414 #85A81D #AEDA28

Accessibility & contrast

On white

5.30
#5C7414 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#5C7414 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C7414
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C7414#FFFFFF#000000##FFFFFF
##5C74141.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#616E62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5c7414;
/* rgb */ color: rgb(92, 116, 20);
/* oklch */ color: oklch(52.2% 0.120 123.4);
Tailwind
colors: {
  custom: {
    50: '#8d9c5b',
    500: '#5c7414',
    950: '#000000',
  },
}
SCSS
$custom: #5c7414;
$custom-light: #8d9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c7414",
  "rgb": {
    "r": 92,
    "g": 116,
    "b": 20
  },
  "hsl": {
    "h": 75,
    "s": 70.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.12002,
    "h": 123.4
  },
  "luminance": 0.14817
}

Semantic roles & 50–950 ramp

primary
#5C7414
secondary
#563AAA
accent
#3AED67
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E04
muted
#7D7E79

Preview Lab

Preview with #5C7414

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

Preview Lab → · Contrast checker → · Palette generator →

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