#42400B#42400B

#42400B is a dark, moderate yellow. Relative luminance 0.048; OKLCH L 36.2% C 0.070 H 107.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#42400B
RGBrgb(66, 64, 11)
HSLhsl(58, 71%, 15%)
HSVhsv(58, 83%, 26%)
CMYKcmyk(0%, 3%, 83.3%, 74.1%)
CIE-LABlab(26.30, -6.40, 30.57)
CIE-LCHlch(26.30, 31.24, 101.82°)
OKLaboklab(36.25% -0.0209 0.0673)
OKLCHoklch(36.25% 0.07 107.2)
XYZxyz(4.1407, 4.8493, 1.0344)
Luminance0.0485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42400B #0B0D42
analogous
#42240B #42400B #29420B
triadic
#42400B #0B4240 #400B42
tetradic
#42400B #0B4224 #0B0D42 #420B29
square
#42400B #0B4224 #0B0D42 #420B29
split-complementary
#42400B #0B2942 #240B42
monochromatic
#1A1904 #1A1904 #42400B #767314 #ABA61C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42400B#FFFFFF#000000##FFFFFF
##42400B1.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)
#463D03
Deuteranopia (green-blind)
#473F0F
Tritanopia (blue-blind)
#473B36
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #42400b;
/* rgb */ color: rgb(66, 64, 11);
/* oklch */ color: oklch(36.2% 0.070 107.2);
Tailwind
colors: {
  custom: {
    50: '#79744f',
    500: '#42400b',
    950: '#000000',
  },
}
SCSS
$custom: #42400b;
$custom-light: #79744f;
$custom-dark: #000000;
JSON
{
  "hex": "#42400b",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 11
  },
  "hsl": {
    "h": 57.818,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.36247,
    "c": 0.07042,
    "h": 107.2
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#42400B
secondary
#2A2D7F
accent
#40EE3A
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42400B

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

Preview Lab → · Contrast checker → · Palette generator →

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