#4A4010#4A4010

#4A4010 is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.2% C 0.066 H 97.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4A4010
RGBrgb(74, 64, 16)
HSLhsl(50, 64%, 18%)
HSVhsv(50, 78%, 29%)
CMYKcmyk(0%, 13.5%, 78.4%, 71%)
CIE-LABlab(27.19, -1.96, 29.51)
CIE-LCHlch(27.19, 29.58, 93.80°)
OKLaboklab(37.17% -0.0082 0.0658)
OKLCHoklch(37.17% 0.066 97.2)
XYZxyz(4.7512, 5.1603, 1.2359)
Luminance0.0516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4010 #101A4A
analogous
#4A2310 #4A4010 #374A10
triadic
#4A4010 #104A40 #40104A
tetradic
#4A4010 #104A23 #101A4A #4A1037
square
#4A4010 #104A23 #101A4A #4A1037
split-complementary
#4A4010 #10374A #23104A
monochromatic
#191605 #191605 #4A4010 #7C6C1B #AF9726

Accessibility & contrast

On white

10.33
#4A4010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4A4010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4010
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4010#FFFFFF#000000##FFFFFF
##4A40101.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#473E09
Deuteranopia (green-blind)
#4A4213
Tritanopia (blue-blind)
#503B36
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a4010;
/* rgb */ color: rgb(74, 64, 16);
/* oklch */ color: oklch(37.2% 0.066 97.2);
Tailwind
colors: {
  custom: {
    50: '#7f7452',
    500: '#4a4010',
    950: '#000000',
  },
}
SCSS
$custom: #4a4010;
$custom-light: #7f7452;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4010",
  "rgb": {
    "r": 74,
    "g": 64,
    "b": 16
  },
  "hsl": {
    "h": 49.655,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37165,
    "c": 0.06628,
    "h": 97.2
  },
  "luminance": 0.0516
}

Semantic roles & 50–950 ramp

primary
#4A4010
secondary
#324084
accent
#5DE740
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A4010

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

Preview Lab → · Contrast checker → · Palette generator →

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