#4A4218#4A4218

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

Color values

HEX#4A4218
RGBrgb(74, 66, 24)
HSLhsl(50, 51%, 19%)
HSVhsv(50, 68%, 29%)
CMYKcmyk(0%, 10.8%, 67.6%, 71%)
CIE-LABlab(27.89, -2.64, 26.19)
CIE-LCHlch(27.89, 26.32, 95.76°)
OKLaboklab(37.75% -0.0091 0.0602)
OKLCHoklch(37.75% 0.061 98.6)
XYZxyz(4.9373, 5.4184, 1.6498)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4218 #18204A
analogous
#4A2918 #4A4218 #394A18
triadic
#4A4218 #184A42 #42184A
tetradic
#4A4218 #184A29 #18204A #4A1839
square
#4A4218 #184A29 #18204A #4A1839
split-complementary
#4A4218 #18394A #29184A
monochromatic
#171507 #1C1909 #4A4218 #786B27 #A69436

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A4218#FFFFFF#000000##FFFFFF
##4A42181.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)
#494013
Deuteranopia (green-blind)
#4B431A
Tritanopia (blue-blind)
#503D39
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4a4218;
/* rgb */ color: rgb(74, 66, 24);
/* oklch */ color: oklch(37.8% 0.061 98.6);
Tailwind
colors: {
  custom: {
    50: '#7e7657',
    500: '#4a4218',
    950: '#000000',
  },
}
SCSS
$custom: #4a4218;
$custom-light: #7e7657;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4218",
  "rgb": {
    "r": 74,
    "g": 66,
    "b": 24
  },
  "hsl": {
    "h": 50.4,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.37751,
    "c": 0.0609,
    "h": 98.6
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#4A4218
secondary
#3D4881
accent
#64DA4D
background
#F7F7F5
surface
#EEEDE9
border
#C9C8C5
text
#0A0803
muted
#7C7B78

Preview Lab

Preview with #4A4218

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

Preview Lab → · Contrast checker → · Palette generator →

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