#4A4A12#4A4A12

#4A4A12 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.7% C 0.075 H 109.4°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#4A4A12
RGBrgb(74, 74, 18)
HSLhsl(60, 61%, 18%)
HSVhsv(60, 76%, 29%)
CMYKcmyk(0%, 0%, 75.7%, 71%)
CIE-LABlab(30.39, -7.97, 31.80)
CIE-LCHlch(30.39, 32.78, 104.07°)
OKLaboklab(39.72% -0.025 0.071)
OKLCHoklch(39.72% 0.075 109.4)
XYZxyz(5.3822, 6.3972, 1.5234)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4A12 #12124A
analogous
#4A2E12 #4A4A12 #2E4A12
triadic
#4A4A12 #124A4A #4A124A
tetradic
#4A4A12 #124A2E #12124A #4A122E
square
#4A4A12 #124A2E #12124A #4A122E
split-complementary
#4A4A12 #122E4A #2E124A
monochromatic
#191906 #191906 #4A4A12 #7B7B1E #ACAC2A

Accessibility & contrast

On white

9.21
#4A4A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4A4A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4A12
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4A12#FFFFFF#000000##FFFFFF
##4A4A121.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#514816
Tritanopia (blue-blind)
#50453F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a4a12;
/* rgb */ color: rgb(74, 74, 18);
/* oklch */ color: oklch(39.7% 0.075 109.4);
Tailwind
colors: {
  custom: {
    50: '#7f7c54',
    500: '#4a4a12',
    950: '#000000',
  },
}
SCSS
$custom: #4a4a12;
$custom-light: #7f7c54;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4a12",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 60,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3972,
    "c": 0.07526,
    "h": 109.4
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#4A4A12
secondary
#353583
accent
#44E444
background
#F7F7F4
surface
#EEEEE8
border
#C9C9C4
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4A4A12

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

Preview Lab → · Contrast checker → · Palette generator →

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