#42420D#42420D

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

Color values

HEX#42420D
RGBrgb(66, 66, 13)
HSLhsl(60, 67%, 15%)
HSVhsv(60, 80%, 26%)
CMYKcmyk(0%, 0%, 80.3%, 74.1%)
CIE-LABlab(26.97, -7.51, 30.37)
CIE-LCHlch(26.97, 31.29, 103.89°)
OKLaboklab(36.79% -0.0237 0.0673)
OKLCHoklch(36.79% 0.071 109.4)
XYZxyz(4.2678, 5.0839, 1.1372)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42420D #0D0D42
analogous
#42270D #42420D #27420D
triadic
#42420D #0D4242 #420D42
tetradic
#42420D #0D4227 #0D0D42 #420D27
square
#42420D #0D4227 #0D0D42 #420D27
split-complementary
#42420D #0D2742 #270D42
monochromatic
#1A1A05 #1A1A05 #42420D #757517 #A8A821

Accessibility & contrast

On white

10.41
#42420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42420D
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42420D#FFFFFF#000000##FFFFFF
##42420D1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483F05
Deuteranopia (green-blind)
#494111
Tritanopia (blue-blind)
#473D38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #42420d;
/* rgb */ color: rgb(66, 66, 13);
/* oklch */ color: oklch(36.8% 0.071 109.4);
Tailwind
colors: {
  custom: {
    50: '#797650',
    500: '#42420d',
    950: '#000000',
  },
}
SCSS
$custom: #42420d;
$custom-light: #797650;
$custom-dark: #000000;
JSON
{
  "hex": "#42420d",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 60,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36787,
    "c": 0.07134,
    "h": 109.4
  },
  "luminance": 0.05084
}

Semantic roles & 50–950 ramp

primary
#42420D
secondary
#2D2D7E
accent
#3EEA3E
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42420D

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

Preview Lab → · Contrast checker → · Palette generator →

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