#42400D#42400D

#42400D is a dark, moderate yellow. Relative luminance 0.049; OKLCH L 36.3% C 0.069 H 107.1°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#42400D
RGBrgb(66, 64, 13)
HSLhsl(58, 67%, 15%)
HSVhsv(58, 80%, 26%)
CMYKcmyk(0%, 3%, 80.3%, 74.1%)
CIE-LABlab(26.32, -6.29, 29.74)
CIE-LCHlch(26.32, 30.39, 101.94°)
OKLaboklab(36.26% -0.0203 0.0659)
OKLCHoklch(36.26% 0.069 107.1)
XYZxyz(4.1530, 4.8542, 1.0989)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42400D #0D0F42
analogous
#42250D #42400D #29420D
triadic
#42400D #0D4240 #400D42
tetradic
#42400D #0D4225 #0D0F42 #420D29
square
#42400D #0D4225 #0D0F42 #420D29
split-complementary
#42400D #0D2942 #250D42
monochromatic
#1A1905 #1A1905 #42400D #757217 #A8A321

Accessibility & contrast

On white

10.66
#42400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#42400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42400D
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42400D#FFFFFF#000000##FFFFFF
##42400D1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D05
Deuteranopia (green-blind)
#473F11
Tritanopia (blue-blind)
#473B36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #42400d;
/* rgb */ color: rgb(66, 64, 13);
/* oklch */ color: oklch(36.3% 0.069 107.1);
Tailwind
colors: {
  custom: {
    50: '#797450',
    500: '#42400d',
    950: '#000000',
  },
}
SCSS
$custom: #42400d;
$custom-light: #797450;
$custom-dark: #000000;
JSON
{
  "hex": "#42400d",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 57.736,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.36263,
    "c": 0.06898,
    "h": 107.1
  },
  "luminance": 0.04854
}

Semantic roles & 50–950 ramp

primary
#42400D
secondary
#2D307E
accent
#44EA3E
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42400D

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

Preview Lab → · Contrast checker → · Palette generator →

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