#45420A#45420A

#45420A is a dark, moderate yellow. Relative luminance 0.052; OKLCH L 37.1% C 0.073 H 106.3°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#45420A
RGBrgb(69, 66, 10)
HSLhsl(57, 75%, 15%)
HSVhsv(57, 86%, 27%)
CMYKcmyk(0%, 4.3%, 85.5%, 72.9%)
CIE-LABlab(27.25, -6.12, 31.96)
CIE-LCHlch(27.25, 32.54, 100.84°)
OKLaboklab(37.08% -0.0204 0.0699)
OKLCHoklch(37.08% 0.073 106.3)
XYZxyz(4.4574, 5.1837, 1.0529)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45420A #0A0D45
analogous
#45240A #45420A #2A450A
triadic
#45420A #0A4542 #420A45
tetradic
#45420A #0A4524 #0A0D45 #450A2A
square
#45420A #0A4524 #0A0D45 #450A2A
split-complementary
#45420A #0A2A45 #240A45
monochromatic
#1B1A04 #1B1A04 #45420A #7A7512 #B0A819

Accessibility & contrast

On white

10.31
#45420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#45420A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #45420A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45420A#FFFFFF#000000##FFFFFF
##45420A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F01
Deuteranopia (green-blind)
#4A410E
Tritanopia (blue-blind)
#4B3D37
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45420a;
/* rgb */ color: rgb(69, 66, 10);
/* oklch */ color: oklch(37.1% 0.073 106.3);
Tailwind
colors: {
  custom: {
    50: '#7b764f',
    500: '#45420a',
    950: '#000000',
  },
}
SCSS
$custom: #45420a;
$custom-light: #7b764f;
$custom-dark: #000000;
JSON
{
  "hex": "#45420a",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 56.949,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.37076,
    "c": 0.07276,
    "h": 106.3
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#45420A
secondary
#292D82
accent
#40F136
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #45420A

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

Preview Lab → · Contrast checker → · Palette generator →

#45420A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva