#45420F#45420F

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

Color values

HEX#45420F
RGBrgb(69, 66, 15)
HSLhsl(57, 64%, 16%)
HSVhsv(57, 78%, 27%)
CMYKcmyk(0%, 4.3%, 78.3%, 72.9%)
CIE-LABlab(27.29, -5.85, 29.90)
CIE-LCHlch(27.29, 30.46, 101.07°)
OKLaboklab(37.11% -0.019 0.0666)
OKLCHoklch(37.11% 0.069 106)
XYZxyz(4.4889, 5.1963, 1.2184)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45420F #0F1245
analogous
#45270F #45420F #2D450F
triadic
#45420F #0F4542 #420F45
tetradic
#45420F #0F4527 #0F1245 #450F2D
square
#45420F #0F4527 #0F1245 #450F2D
split-complementary
#45420F #0F2D45 #270F45
monochromatic
#191805 #191805 #45420F #77721A #AAA225

Accessibility & contrast

On white

10.30
#45420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #45420F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##45420F#FFFFFF#000000##FFFFFF
##45420F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F07
Deuteranopia (green-blind)
#4A4112
Tritanopia (blue-blind)
#4B3D38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45420f;
/* rgb */ color: rgb(69, 66, 15);
/* oklch */ color: oklch(37.1% 0.069 106.0);
Tailwind
colors: {
  custom: {
    50: '#7b7651',
    500: '#45420f',
    950: '#000000',
  },
}
SCSS
$custom: #45420f;
$custom-light: #7b7651;
$custom-dark: #000000;
JSON
{
  "hex": "#45420f",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 56.667,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37115,
    "c": 0.06924,
    "h": 106
  },
  "luminance": 0.05196
}

Semantic roles & 50–950 ramp

primary
#45420F
secondary
#30357F
accent
#4AE741
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #45420F

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

Preview Lab → · Contrast checker → · Palette generator →

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