#4A400E#4A400E

#4A400E is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.1% C 0.068 H 97.5°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#4A400E
RGBrgb(74, 64, 14)
HSLhsl(50, 68%, 17%)
HSVhsv(50, 81%, 29%)
CMYKcmyk(0%, 13.5%, 81.1%, 71%)
CIE-LABlab(27.17, -2.08, 30.41)
CIE-LCHlch(27.17, 30.49, 93.91°)
OKLaboklab(37.15% -0.0088 0.0672)
OKLCHoklch(37.15% 0.068 97.5)
XYZxyz(4.7369, 5.1546, 1.1608)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A400E #0E184A
analogous
#4A220E #4A400E #364A0E
triadic
#4A400E #0E4A40 #400E4A
tetradic
#4A400E #0E4A22 #0E184A #4A0E36
square
#4A400E #0E4A22 #0E184A #4A0E36
split-complementary
#4A400E #0E364A #220E4A
monochromatic
#1A1605 #1A1605 #4A400E #7D6D18 #B19921

Accessibility & contrast

On white

10.34
#4A400E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4A400E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A400E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A400E#FFFFFF#000000##FFFFFF
##4A400E1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E06
Deuteranopia (green-blind)
#4A4211
Tritanopia (blue-blind)
#513A36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a400e;
/* rgb */ color: rgb(74, 64, 14);
/* oklch */ color: oklch(37.1% 0.068 97.5);
Tailwind
colors: {
  custom: {
    50: '#7f7450',
    500: '#4a400e',
    950: '#000000',
  },
}
SCSS
$custom: #4a400e;
$custom-light: #7f7450;
$custom-dark: #000000;
JSON
{
  "hex": "#4a400e",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 50,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37147,
    "c": 0.06781,
    "h": 97.5
  },
  "luminance": 0.05154
}

Semantic roles & 50–950 ramp

primary
#4A400E
secondary
#2F3D85
accent
#5AEB3D
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A400E

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

Preview Lab → · Contrast checker → · Palette generator →

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