#42420B#42420B

#42420B is a dark, moderate yellow. Relative luminance 0.051; OKLCH L 36.8% C 0.073 H 109.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#42420B
RGBrgb(66, 66, 11)
HSLhsl(60, 71%, 15%)
HSVhsv(60, 83%, 26%)
CMYKcmyk(0%, 0%, 83.3%, 74.1%)
CIE-LABlab(26.96, -7.62, 31.19)
CIE-LCHlch(26.96, 32.11, 103.73°)
OKLaboklab(36.77% -0.0243 0.0686)
OKLCHoklch(36.77% 0.073 109.5)
XYZxyz(4.2555, 5.0790, 1.0727)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42420B #0B0B42
analogous
#42260B #42420B #26420B
triadic
#42420B #0B4242 #420B42
tetradic
#42420B #0B4226 #0B0B42 #420B26
square
#42420B #0B4226 #0B0B42 #420B26
split-complementary
#42420B #0B2642 #260B42
monochromatic
#1A1A04 #1A1A04 #42420B #767614 #ABAB1C

Accessibility & contrast

On white

10.42
#42420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#42420B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42420B
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42420B#FFFFFF#000000##FFFFFF
##42420B1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F02
Deuteranopia (green-blind)
#49400F
Tritanopia (blue-blind)
#473D38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #42420b;
/* rgb */ color: rgb(66, 66, 11);
/* oklch */ color: oklch(36.8% 0.073 109.5);
Tailwind
colors: {
  custom: {
    50: '#79764f',
    500: '#42420b',
    950: '#000000',
  },
}
SCSS
$custom: #42420b;
$custom-light: #79764f;
$custom-dark: #000000;
JSON
{
  "hex": "#42420b",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 60,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36772,
    "c": 0.07274,
    "h": 109.5
  },
  "luminance": 0.05079
}

Semantic roles & 50–950 ramp

primary
#42420B
secondary
#2A2A7F
accent
#3AEE3A
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42420B

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

Preview Lab → · Contrast checker → · Palette generator →

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