#4C5213#4C5213

#4C5213 is a dark, moderate yellow. Relative luminance 0.076; OKLCH L 42.0% C 0.084 H 114.8°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#4C5213
RGBrgb(76, 82, 19)
HSLhsl(66, 62%, 20%)
HSVhsv(66, 77%, 32%)
CMYKcmyk(7.3%, 0%, 76.8%, 67.8%)
CIE-LABlab(33.17, -11.60, 34.17)
CIE-LCHlch(33.17, 36.09, 108.76°)
OKLaboklab(41.99% -0.0352 0.0761)
OKLCHoklch(41.99% 0.084 114.8)
XYZxyz(6.1155, 7.6182, 1.7643)
Luminance0.0762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C5213 #191352
analogous
#523813 #4C5213 #2D5213
triadic
#4C5213 #134C52 #52134C
tetradic
#4C5213 #135238 #191352 #52132D
square
#4C5213 #135238 #191352 #52132D
split-complementary
#4C5213 #132D52 #381352
monochromatic
#171906 #1E2007 #4C5213 #7A841F #A8B52A

Accessibility & contrast

On white

8.32
#4C5213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4C5213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C5213
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C5213#FFFFFF#000000##FFFFFF
##4C52131.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E08
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#514D46
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4c5213;
/* rgb */ color: rgb(76, 82, 19);
/* oklch */ color: oklch(42.0% 0.084 114.8);
Tailwind
colors: {
  custom: {
    50: '#808256',
    500: '#4c5213',
    950: '#000000',
  },
}
SCSS
$custom: #4c5213;
$custom-light: #808256;
$custom-dark: #000000;
JSON
{
  "hex": "#4c5213",
  "rgb": {
    "r": 76,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 65.714,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41994,
    "c": 0.08386,
    "h": 114.8
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#4C5213
secondary
#3E368A
accent
#42E552
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0A0A03
muted
#7C7C78

Preview Lab

Preview with #4C5213

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

Preview Lab → · Contrast checker → · Palette generator →

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