#45420C#45420C

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

Color values

HEX#45420C
RGBrgb(69, 66, 12)
HSLhsl(57, 70%, 16%)
HSVhsv(57, 83%, 27%)
CMYKcmyk(0%, 4.3%, 82.6%, 72.9%)
CIE-LABlab(27.26, -6.02, 31.18)
CIE-LCHlch(27.26, 31.75, 100.93°)
OKLaboklab(37.09% -0.0199 0.0686)
OKLCHoklch(37.09% 0.071 106.2)
XYZxyz(4.4690, 5.1883, 1.1138)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#45420C #0C0F45
analogous
#45250C #45420C #2B450C
triadic
#45420C #0C4542 #420C45
tetradic
#45420C #0C4525 #0C0F45 #450C2B
square
#45420C #0C4525 #0C0F45 #450C2B
split-complementary
#45420C #0C2B45 #250C45
monochromatic
#1A1905 #1A1905 #45420C #797415 #ADA61E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##45420C#FFFFFF#000000##FFFFFF
##45420C1.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)
#483F03
Deuteranopia (green-blind)
#4A4110
Tritanopia (blue-blind)
#4B3D38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #45420c;
/* rgb */ color: rgb(69, 66, 12);
/* oklch */ color: oklch(37.1% 0.071 106.2);
Tailwind
colors: {
  custom: {
    50: '#7b764f',
    500: '#45420c',
    950: '#000000',
  },
}
SCSS
$custom: #45420c;
$custom-light: #7b764f;
$custom-dark: #000000;
JSON
{
  "hex": "#45420c",
  "rgb": {
    "r": 69,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 56.842,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37091,
    "c": 0.07145,
    "h": 106.2
  },
  "luminance": 0.05188
}

Semantic roles & 50–950 ramp

primary
#45420C
secondary
#2C3081
accent
#44ED3B
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#0A0802
muted
#7C7B78

Preview Lab

Preview with #45420C

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

Preview Lab → · Contrast checker → · Palette generator →

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