#4A420E#4A420E

#4A420E is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.6% C 0.070 H 100.2°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4A420E
RGBrgb(74, 66, 14)
HSLhsl(52, 68%, 17%)
HSVhsv(52, 81%, 29%)
CMYKcmyk(0%, 10.8%, 81.1%, 71%)
CIE-LABlab(27.80, -3.33, 31.02)
CIE-LCHlch(27.80, 31.20, 96.12°)
OKLaboklab(37.65% -0.0124 0.0685)
OKLCHoklch(37.65% 0.07 100.2)
XYZxyz(4.8517, 5.3842, 1.1991)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A420E #0E164A
analogous
#4A240E #4A420E #344A0E
triadic
#4A420E #0E4A42 #420E4A
tetradic
#4A420E #0E4A24 #0E164A #4A0E34
square
#4A420E #0E4A24 #0E164A #4A0E34
split-complementary
#4A420E #0E344A #240E4A
monochromatic
#1A1705 #1A1705 #4A420E #7D7018 #B19E21

Accessibility & contrast

On white

10.11
#4A420E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4A420E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A420E
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A420E#FFFFFF#000000##FFFFFF
##4A420E1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494006
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#503D38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a420e;
/* rgb */ color: rgb(74, 66, 14);
/* oklch */ color: oklch(37.6% 0.070 100.2);
Tailwind
colors: {
  custom: {
    50: '#7f7651',
    500: '#4a420e',
    950: '#000000',
  },
}
SCSS
$custom: #4a420e;
$custom-light: #7f7651;
$custom-dark: #000000;
JSON
{
  "hex": "#4a420e",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 52,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37648,
    "c": 0.06963,
    "h": 100.2
  },
  "luminance": 0.05384
}

Semantic roles & 50–950 ramp

primary
#4A420E
secondary
#2F3A85
accent
#54EB3D
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A420E

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

Preview Lab → · Contrast checker → · Palette generator →

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