#4A4212#4A4212

#4A4212 is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.7% C 0.066 H 99.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4A4212
RGBrgb(74, 66, 18)
HSLhsl(51, 61%, 18%)
HSVhsv(51, 76%, 29%)
CMYKcmyk(0%, 10.8%, 75.7%, 71%)
CIE-LABlab(27.84, -3.09, 29.21)
CIE-LCHlch(27.84, 29.37, 96.03°)
OKLaboklab(37.68% -0.0112 0.0655)
OKLCHoklch(37.68% 0.066 99.7)
XYZxyz(4.8817, 5.3962, 1.3566)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4212 #121A4A
analogous
#4A2612 #4A4212 #364A12
triadic
#4A4212 #124A42 #42124A
tetradic
#4A4212 #124A26 #121A4A #4A1236
square
#4A4212 #124A26 #121A4A #4A1236
split-complementary
#4A4212 #12364A #26124A
monochromatic
#191606 #191606 #4A4212 #7B6E1E #AC9A2A

Accessibility & contrast

On white

10.10
#4A4212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4212
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4212#FFFFFF#000000##FFFFFF
##4A42121.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49400B
Deuteranopia (green-blind)
#4B4315
Tritanopia (blue-blind)
#503D38
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a4212;
/* rgb */ color: rgb(74, 66, 18);
/* oklch */ color: oklch(37.7% 0.066 99.7);
Tailwind
colors: {
  custom: {
    50: '#7f7653',
    500: '#4a4212',
    950: '#000000',
  },
}
SCSS
$custom: #4a4212;
$custom-light: #7f7653;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4212",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 51.429,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37684,
    "c": 0.06649,
    "h": 99.7
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#4A4212
secondary
#354083
accent
#5BE444
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A4212

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

Preview Lab → · Contrast checker → · Palette generator →

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