#4A450A#4A450A

#4A450A is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.4% C 0.075 H 104.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#4A450A
RGBrgb(74, 69, 10)
HSLhsl(55, 76%, 16%)
HSVhsv(55, 86%, 29%)
CMYKcmyk(0%, 6.8%, 86.5%, 71%)
CIE-LABlab(28.73, -5.37, 33.50)
CIE-LCHlch(28.73, 33.92, 99.11°)
OKLaboklab(38.38% -0.0186 0.0729)
OKLCHoklch(38.38% 0.075 104.3)
XYZxyz(5.0072, 5.7342, 1.1302)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A450A #0A0F4A
analogous
#4A250A #4A450A #2F4A0A
triadic
#4A450A #0A4A45 #450A4A
tetradic
#4A450A #0A4A25 #0A0F4A #4A0A2F
square
#4A450A #0A4A25 #0A0F4A #4A0A2F
split-complementary
#4A450A #0A2F4A #250A4A
monochromatic
#1B1904 #1B1904 #4A450A #807711 #B6AA19

Accessibility & contrast

On white

9.78
#4A450A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A450A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A450A
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A450A#FFFFFF#000000##FFFFFF
##4A450A1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#4E450F
Tritanopia (blue-blind)
#503F3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a450a;
/* rgb */ color: rgb(74, 69, 10);
/* oklch */ color: oklch(38.4% 0.075 104.3);
Tailwind
colors: {
  custom: {
    50: '#7f784f',
    500: '#4a450a',
    950: '#000000',
  },
}
SCSS
$custom: #4a450a;
$custom-light: #7f784f;
$custom-dark: #000000;
JSON
{
  "hex": "#4a450a",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 10
  },
  "hsl": {
    "h": 55.313,
    "s": 76.19,
    "l": 16.471
  },
  "oklch": {
    "l": 0.38378,
    "c": 0.07521,
    "h": 104.3
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#4A450A
secondary
#293087
accent
#44F335
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A450A

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

Preview Lab → · Contrast checker → · Palette generator →

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