#45420D#45420D

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

Color values

HEX#45420D
RGBrgb(69, 66, 13)
HSLhsl(57, 68%, 16%)
HSVhsv(57, 81%, 27%)
CMYKcmyk(0%, 4.3%, 81.2%, 72.9%)
CIE-LABlab(27.27, -5.97, 30.77)
CIE-LCHlch(27.27, 31.34, 100.98°)
OKLaboklab(37.1% -0.0196 0.068)
OKLCHoklch(37.1% 0.071 106.1)
XYZxyz(4.4753, 5.1909, 1.1469)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45420D #0D1045
analogous
#45260D #45420D #2C450D
triadic
#45420D #0D4542 #420D45
tetradic
#45420D #0D4526 #0D1045 #450D2C
square
#45420D #0D4526 #0D1045 #450D2C
split-complementary
#45420D #0D2C45 #260D45
monochromatic
#1A1905 #1A1905 #45420D #787317 #ACA520

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45420D#FFFFFF#000000##FFFFFF
##45420D1.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)
#483F05
Deuteranopia (green-blind)
#4A4111
Tritanopia (blue-blind)
#4B3D38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45420d;
/* rgb */ color: rgb(69, 66, 13);
/* oklch */ color: oklch(37.1% 0.071 106.1);
Tailwind
colors: {
  custom: {
    50: '#7b7650',
    500: '#45420d',
    950: '#000000',
  },
}
SCSS
$custom: #45420d;
$custom-light: #7b7650;
$custom-dark: #000000;
JSON
{
  "hex": "#45420d",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 56.786,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.07075,
    "h": 106.1
  },
  "luminance": 0.05191
}

Semantic roles & 50–950 ramp

primary
#45420D
secondary
#2D3280
accent
#46EB3D
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #45420D

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

Preview Lab → · Contrast checker → · Palette generator →

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