#4A450E#4A450E

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

Color values

HEX#4A450E
RGBrgb(74, 69, 14)
HSLhsl(55, 68%, 17%)
HSVhsv(55, 81%, 29%)
CMYKcmyk(0%, 6.8%, 81.1%, 71%)
CIE-LABlab(28.76, -5.18, 31.94)
CIE-LCHlch(28.76, 32.36, 99.21°)
OKLaboklab(38.41% -0.0176 0.0705)
OKLCHoklch(38.41% 0.073 104)
XYZxyz(5.0316, 5.7440, 1.2590)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A450E #0E134A
analogous
#4A270E #4A450E #314A0E
triadic
#4A450E #0E4A45 #450E4A
tetradic
#4A450E #0E4A27 #0E134A #4A0E31
square
#4A450E #0E4A27 #0E134A #4A0E31
split-complementary
#4A450E #0E314A #270E4A
monochromatic
#1A1805 #1A1805 #4A450E #7D7518 #B1A521

Accessibility & contrast

On white

9.77
#4A450E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A450E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A450E#FFFFFF#000000##FFFFFF
##4A450E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4205
Deuteranopia (green-blind)
#4E4512
Tritanopia (blue-blind)
#50403A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a450e;
/* rgb */ color: rgb(74, 69, 14);
/* oklch */ color: oklch(38.4% 0.073 104.0);
Tailwind
colors: {
  custom: {
    50: '#7f7851',
    500: '#4a450e',
    950: '#000000',
  },
}
SCSS
$custom: #4a450e;
$custom-light: #7f7851;
$custom-dark: #000000;
JSON
{
  "hex": "#4a450e",
  "rgb": {
    "r": 74,
    "g": 69,
    "b": 14
  },
  "hsl": {
    "h": 55,
    "s": 68.182,
    "l": 17.255
  },
  "oklch": {
    "l": 0.38407,
    "c": 0.07263,
    "h": 104
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#4A450E
secondary
#2F3685
accent
#4BEB3D
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #4A450E

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

Preview Lab → · Contrast checker → · Palette generator →

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