#42420A#42420A

#42420A 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#42420A
RGBrgb(66, 66, 10)
HSLhsl(60, 74%, 15%)
HSVhsv(60, 85%, 26%)
CMYKcmyk(0%, 0%, 84.8%, 74.1%)
CIE-LABlab(26.95, -7.67, 31.58)
CIE-LCHlch(26.95, 32.50, 103.66°)
OKLaboklab(36.77% -0.0245 0.0692)
OKLCHoklch(36.77% 0.073 109.5)
XYZxyz(4.2499, 5.0767, 1.0431)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42420A #0A0A42
analogous
#42260A #42420A #26420A
triadic
#42420A #0A4242 #420A42
tetradic
#42420A #0A4226 #0A0A42 #420A26
square
#42420A #0A4226 #0A0A42 #420A26
split-complementary
#42420A #0A2642 #260A42
monochromatic
#1B1B04 #1B1B04 #42420A #777712 #ACAC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42420A#FFFFFF#000000##FFFFFF
##42420A1.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)
#483F01
Deuteranopia (green-blind)
#49400F
Tritanopia (blue-blind)
#473D37
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #42420a;
/* rgb */ color: rgb(66, 66, 10);
/* oklch */ color: oklch(36.8% 0.073 109.5);
Tailwind
colors: {
  custom: {
    50: '#79764e',
    500: '#42420a',
    950: '#000000',
  },
}
SCSS
$custom: #42420a;
$custom-light: #79764e;
$custom-dark: #000000;
JSON
{
  "hex": "#42420a",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 60,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.36765,
    "c": 0.07339,
    "h": 109.5
  },
  "luminance": 0.05077
}

Semantic roles & 50–950 ramp

primary
#42420A
secondary
#29297F
accent
#37F037
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42420A

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

Preview Lab → · Contrast checker → · Palette generator →

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