#4A4012#4A4012

#4A4012 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.2% C 0.065 H 96.8°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4A4012
RGBrgb(74, 64, 18)
HSLhsl(49, 61%, 18%)
HSVhsv(49, 76%, 29%)
CMYKcmyk(0%, 13.5%, 75.7%, 71%)
CIE-LABlab(27.20, -1.84, 28.56)
CIE-LCHlch(27.20, 28.62, 93.68°)
OKLaboklab(37.18% -0.0076 0.0642)
OKLCHoklch(37.18% 0.065 96.8)
XYZxyz(4.7668, 5.1665, 1.3183)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4012 #121C4A
analogous
#4A2412 #4A4012 #384A12
triadic
#4A4012 #124A40 #40124A
tetradic
#4A4012 #124A24 #121C4A #4A1238
square
#4A4012 #124A24 #121C4A #4A1238
split-complementary
#4A4012 #12384A #24124A
monochromatic
#191506 #191506 #4A4012 #7B6B1E #AC952A

Accessibility & contrast

On white

10.33
#4A4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4012
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4012#FFFFFF#000000##FFFFFF
##4A40121.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E0C
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#503B37
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a4012;
/* rgb */ color: rgb(74, 64, 18);
/* oklch */ color: oklch(37.2% 0.065 96.8);
Tailwind
colors: {
  custom: {
    50: '#7f7453',
    500: '#4a4012',
    950: '#000000',
  },
}
SCSS
$custom: #4a4012;
$custom-light: #7f7453;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4012",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 49.286,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37184,
    "c": 0.06462,
    "h": 96.8
  },
  "luminance": 0.05166
}

Semantic roles & 50–950 ramp

primary
#4A4012
secondary
#354383
accent
#60E444
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A4012

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

Preview Lab → · Contrast checker → · Palette generator →

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