#4C5314#4C5314

#4C5314 is a dark, moderate yellow. Relative luminance 0.078; OKLCH L 42.3% C 0.084 H 115.6°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#4C5314
RGBrgb(76, 83, 20)
HSLhsl(67, 61%, 20%)
HSVhsv(67, 76%, 33%)
CMYKcmyk(8.4%, 0%, 75.9%, 67.5%)
CIE-LABlab(33.51, -12.12, 34.08)
CIE-LCHlch(33.51, 36.16, 109.57°)
OKLaboklab(42.26% -0.0365 0.0761)
OKLCHoklch(42.26% 0.084 115.6)
XYZxyz(6.2002, 7.7736, 1.8355)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5314 #1B1453
analogous
#533B14 #4C5314 #2C5314
triadic
#4C5314 #144C53 #53144C
tetradic
#4C5314 #14533B #1B1453 #53142C
square
#4C5314 #14533B #1B1453 #53142C
split-complementary
#4C5314 #142C53 #3B1453
monochromatic
#171906 #1F2208 #4C5314 #798420 #A6B62C

Accessibility & contrast

On white

8.22
#4C5314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#4C5314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5314
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5314#FFFFFF#000000##FFFFFF
##4C53141.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594E0A
Deuteranopia (green-blind)
#594F19
Tritanopia (blue-blind)
#514E47
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4c5314;
/* rgb */ color: rgb(76, 83, 20);
/* oklch */ color: oklch(42.3% 0.084 115.6);
Tailwind
colors: {
  custom: {
    50: '#808356',
    500: '#4c5314',
    950: '#000000',
  },
}
SCSS
$custom: #4c5314;
$custom-light: #808356;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5314",
  "rgb": {
    "r": 76,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 66.667,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.42263,
    "c": 0.0844,
    "h": 115.6
  },
  "luminance": 0.07774
}

Semantic roles & 50–950 ramp

primary
#4C5314
secondary
#41388B
accent
#44E455
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5314

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

Preview Lab → · Contrast checker → · Palette generator →

#4C5314 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva