#4C420E#4C420E

#4C420E is a dark, moderate yellow. Relative luminance 0.055; OKLCH L 37.9% C 0.070 H 97.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4C420E
RGBrgb(76, 66, 14)
HSLhsl(50, 69%, 18%)
HSVhsv(50, 82%, 30%)
CMYKcmyk(0%, 13.2%, 81.6%, 70.2%)
CIE-LABlab(28.02, -2.29, 31.31)
CIE-LCHlch(28.02, 31.39, 94.19°)
OKLaboklab(37.87% -0.0096 0.069)
OKLCHoklch(37.87% 0.07 97.9)
XYZxyz(5.0082, 5.4649, 1.2064)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C420E #0E184C
analogous
#4C230E #4C420E #374C0E
triadic
#4C420E #0E4C42 #420E4C
tetradic
#4C420E #0E4C23 #0E184C #4C0E37
square
#4C420E #0E4C23 #0E184C #4C0E37
split-complementary
#4C420E #0E374C #230E4C
monochromatic
#1A1605 #1A1605 #4C420E #806F18 #B39C21

Accessibility & contrast

On white

10.03
#4C420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4C420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C420E
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C420E#FFFFFF#000000##FFFFFF
##4C420E1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494006
Deuteranopia (green-blind)
#4C4411
Tritanopia (blue-blind)
#533C38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4c420e;
/* rgb */ color: rgb(76, 66, 14);
/* oklch */ color: oklch(37.9% 0.070 97.9);
Tailwind
colors: {
  custom: {
    50: '#817651',
    500: '#4c420e',
    950: '#000000',
  },
}
SCSS
$custom: #4c420e;
$custom-light: #817651;
$custom-dark: #000000;
JSON
{
  "hex": "#4c420e",
  "rgb": {
    "r": 76,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 50.323,
    "s": 68.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37872,
    "c": 0.06969,
    "h": 97.9
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#4C420E
secondary
#2F3D87
accent
#58EC3C
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0802
muted
#7C7B78

Preview Lab

Preview with #4C420E

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

Preview Lab → · Contrast checker → · Palette generator →

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