#4A4712#4A4712

#4A4712 is a dark, moderate yellow. Relative luminance 0.060; OKLCH L 39.0% C 0.072 H 106.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#4A4712
RGBrgb(74, 71, 18)
HSLhsl(57, 61%, 18%)
HSVhsv(57, 76%, 29%)
CMYKcmyk(0%, 4.1%, 75.7%, 71%)
CIE-LABlab(29.43, -6.16, 30.83)
CIE-LCHlch(29.43, 31.44, 101.30°)
OKLaboklab(38.95% -0.0199 0.069)
OKLCHoklch(38.95% 0.072 106.1)
XYZxyz(5.1867, 6.0062, 1.4582)
Luminance0.0601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4712 #12154A
analogous
#4A2B12 #4A4712 #314A12
triadic
#4A4712 #124A47 #47124A
tetradic
#4A4712 #124A2B #12154A #4A1231
square
#4A4712 #124A2B #12154A #4A1231
split-complementary
#4A4712 #12314A #2B124A
monochromatic
#191806 #191806 #4A4712 #7B761E #ACA52A

Accessibility & contrast

On white

9.54
#4A4712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4A4712 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4712
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4712#FFFFFF#000000##FFFFFF
##4A47121.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E440A
Deuteranopia (green-blind)
#4F4615
Tritanopia (blue-blind)
#50423C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a4712;
/* rgb */ color: rgb(74, 71, 18);
/* oklch */ color: oklch(39.0% 0.072 106.1);
Tailwind
colors: {
  custom: {
    50: '#7f7a54',
    500: '#4a4712',
    950: '#000000',
  },
}
SCSS
$custom: #4a4712;
$custom-light: #7f7a54;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4712",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 56.786,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3895,
    "c": 0.07176,
    "h": 106.1
  },
  "luminance": 0.06006
}

Semantic roles & 50–950 ramp

primary
#4A4712
secondary
#353983
accent
#4CE444
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0903
muted
#7C7B78

Preview Lab

Preview with #4A4712

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

Preview Lab → · Contrast checker → · Palette generator →

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