#45420E#45420E

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

Color values

HEX#45420E
RGBrgb(69, 66, 14)
HSLhsl(57, 66%, 16%)
HSVhsv(57, 80%, 27%)
CMYKcmyk(0%, 4.3%, 79.7%, 72.9%)
CIE-LABlab(27.28, -5.91, 30.34)
CIE-LCHlch(27.28, 30.91, 101.02°)
OKLaboklab(37.11% -0.0193 0.0673)
OKLCHoklch(37.11% 0.07 106)
XYZxyz(4.4819, 5.1935, 1.1817)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45420E #0E1145
analogous
#45270E #45420E #2D450E
triadic
#45420E #0E4542 #420E45
tetradic
#45420E #0E4527 #0E1145 #450E2D
square
#45420E #0E4527 #0E1145 #450E2D
split-complementary
#45420E #0E2D45 #270E45
monochromatic
#191805 #191805 #45420E #787318 #ABA323

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45420E#FFFFFF#000000##FFFFFF
##45420E1.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)
#483F06
Deuteranopia (green-blind)
#4A4112
Tritanopia (blue-blind)
#4B3D38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45420e;
/* rgb */ color: rgb(69, 66, 14);
/* oklch */ color: oklch(37.1% 0.070 106.0);
Tailwind
colors: {
  custom: {
    50: '#7b7651',
    500: '#45420e',
    950: '#000000',
  },
}
SCSS
$custom: #45420e;
$custom-light: #7b7651;
$custom-dark: #000000;
JSON
{
  "hex": "#45420e",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 56.727,
    "s": 66.265,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37107,
    "c": 0.07,
    "h": 106
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

primary
#45420E
secondary
#2F3380
accent
#48E93F
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #45420E

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

Preview Lab → · Contrast checker → · Palette generator →

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