#4A4217#4A4217

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

Color values

HEX#4A4217
RGBrgb(74, 66, 23)
HSLhsl(51, 53%, 19%)
HSVhsv(51, 69%, 29%)
CMYKcmyk(0%, 10.8%, 68.9%, 71%)
CIE-LABlab(27.88, -2.72, 26.72)
CIE-LCHlch(27.88, 26.85, 95.82°)
OKLaboklab(37.74% -0.0095 0.0612)
OKLCHoklch(37.74% 0.062 98.8)
XYZxyz(4.9271, 5.4144, 1.5960)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4217 #171F4A
analogous
#4A2917 #4A4217 #394A17
triadic
#4A4217 #174A42 #42174A
tetradic
#4A4217 #174A29 #171F4A #4A1739
square
#4A4217 #174A29 #171F4A #4A1739
split-complementary
#4A4217 #17394A #29174A
monochromatic
#171507 #1B1808 #4A4217 #796C26 #A79534

Accessibility & contrast

On white

10.08
#4A4217 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4217
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4217#FFFFFF#000000##FFFFFF
##4A42171.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494012
Deuteranopia (green-blind)
#4B4319
Tritanopia (blue-blind)
#503D39
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a4217;
/* rgb */ color: rgb(74, 66, 23);
/* oklch */ color: oklch(37.7% 0.062 98.8);
Tailwind
colors: {
  custom: {
    50: '#7e7656',
    500: '#4a4217',
    950: '#000000',
  },
}
SCSS
$custom: #4a4217;
$custom-light: #7e7656;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4217",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 23
  },
  "hsl": {
    "h": 50.588,
    "s": 52.577,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37739,
    "c": 0.0619,
    "h": 98.8
  },
  "luminance": 0.05414
}

Semantic roles & 50–950 ramp

primary
#4A4217
secondary
#3C4781
accent
#62DC4C
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4A4217

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

Preview Lab → · Contrast checker → · Palette generator →

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