#42420E#42420E

#42420E 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#42420E
RGBrgb(66, 66, 14)
HSLhsl(60, 65%, 16%)
HSVhsv(60, 79%, 26%)
CMYKcmyk(0%, 0%, 78.8%, 74.1%)
CIE-LABlab(26.98, -7.45, 29.94)
CIE-LCHlch(26.98, 30.86, 103.97°)
OKLaboklab(36.8% -0.0235 0.0666)
OKLCHoklch(36.8% 0.071 109.4)
XYZxyz(4.2744, 5.0865, 1.1720)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42420E #0E0E42
analogous
#42280E #42420E #28420E
triadic
#42420E #0E4242 #420E42
tetradic
#42420E #0E4228 #0E0E42 #420E28
square
#42420E #0E4228 #0E0E42 #420E28
split-complementary
#42420E #0E2842 #280E42
monochromatic
#191905 #191905 #42420E #747419 #A7A723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42420E#FFFFFF#000000##FFFFFF
##42420E1.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)
#483F06
Deuteranopia (green-blind)
#494112
Tritanopia (blue-blind)
#473D38
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #42420e;
/* rgb */ color: rgb(66, 66, 14);
/* oklch */ color: oklch(36.8% 0.071 109.4);
Tailwind
colors: {
  custom: {
    50: '#787650',
    500: '#42420e',
    950: '#000000',
  },
}
SCSS
$custom: #42420e;
$custom-light: #787650;
$custom-dark: #000000;
JSON
{
  "hex": "#42420e",
  "rgb": {
    "r": 66,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 60,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.36796,
    "c": 0.07059,
    "h": 109.4
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#42420E
secondary
#2F2F7D
accent
#40E840
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42420E

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

Preview Lab → · Contrast checker → · Palette generator →

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