#45420B#45420B

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

Color values

HEX#45420B
RGBrgb(69, 66, 11)
HSLhsl(57, 73%, 16%)
HSVhsv(57, 84%, 27%)
CMYKcmyk(0%, 4.3%, 84.1%, 72.9%)
CIE-LABlab(27.26, -6.07, 31.58)
CIE-LCHlch(27.26, 32.16, 100.89°)
OKLaboklab(37.08% -0.0201 0.0693)
OKLCHoklch(37.08% 0.072 106.2)
XYZxyz(4.4630, 5.1860, 1.0824)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45420B #0B0E45
analogous
#45250B #45420B #2B450B
triadic
#45420B #0B4542 #420B45
tetradic
#45420B #0B4525 #0B0E45 #450B2B
square
#45420B #0B4525 #0B0E45 #450B2B
split-complementary
#45420B #0B2B45 #250B45
monochromatic
#1A1904 #1A1904 #45420B #7A7413 #AFA71C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45420B#FFFFFF#000000##FFFFFF
##45420B1.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)
#493F02
Deuteranopia (green-blind)
#4A410F
Tritanopia (blue-blind)
#4B3D38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45420b;
/* rgb */ color: rgb(69, 66, 11);
/* oklch */ color: oklch(37.1% 0.072 106.2);
Tailwind
colors: {
  custom: {
    50: '#7b764f',
    500: '#45420b',
    950: '#000000',
  },
}
SCSS
$custom: #45420b;
$custom-light: #7b764f;
$custom-dark: #000000;
JSON
{
  "hex": "#45420b",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 56.897,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.37083,
    "c": 0.07213,
    "h": 106.2
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#45420B
secondary
#2A2F81
accent
#42EF39
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #45420B

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

Preview Lab → · Contrast checker → · Palette generator →

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