#4A4112#4A4112

#4A4112 is a dark, moderate yellow. Relative luminance 0.053; OKLCH L 37.4% C 0.066 H 98.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4A4112
RGBrgb(74, 65, 18)
HSLhsl(50, 61%, 18%)
HSVhsv(50, 76%, 29%)
CMYKcmyk(0%, 12.2%, 75.7%, 71%)
CIE-LABlab(27.52, -2.46, 28.89)
CIE-LCHlch(27.52, 28.99, 94.87°)
OKLaboklab(37.43% -0.0094 0.0649)
OKLCHoklch(37.43% 0.066 98.3)
XYZxyz(4.8237, 5.2803, 1.3373)
Luminance0.0528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4112 #121B4A
analogous
#4A2512 #4A4112 #374A12
triadic
#4A4112 #124A41 #41124A
tetradic
#4A4112 #124A25 #121B4A #4A1237
square
#4A4112 #124A25 #121B4A #4A1237
split-complementary
#4A4112 #12374A #25124A
monochromatic
#191606 #191606 #4A4112 #7B6C1E #AC972A

Accessibility & contrast

On white

10.21
#4A4112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4A4112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4112
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4112#FFFFFF#000000##FFFFFF
##4A41121.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F0C
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#503C37
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a4112;
/* rgb */ color: rgb(74, 65, 18);
/* oklch */ color: oklch(37.4% 0.066 98.3);
Tailwind
colors: {
  custom: {
    50: '#7f7553',
    500: '#4a4112',
    950: '#000000',
  },
}
SCSS
$custom: #4a4112;
$custom-light: #7f7553;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4112",
  "rgb": {
    "r": 74,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 50.357,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.06553,
    "h": 98.3
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#4A4112
secondary
#354183
accent
#5EE444
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A4112

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

Preview Lab → · Contrast checker → · Palette generator →

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