#42400F#42400F

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

Color values

HEX#42400F
RGBrgb(66, 64, 15)
HSLhsl(58, 63%, 16%)
HSVhsv(58, 77%, 26%)
CMYKcmyk(0%, 3%, 77.3%, 74.1%)
CIE-LABlab(26.33, -6.16, 28.85)
CIE-LCHlch(26.33, 29.50, 102.06°)
OKLaboklab(36.28% -0.0197 0.0645)
OKLCHoklch(36.28% 0.067 107)
XYZxyz(4.1665, 4.8597, 1.1704)
Luminance0.0486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42400F #0F1142
analogous
#42260F #42400F #2A420F
triadic
#42400F #0F4240 #400F42
tetradic
#42400F #0F4226 #0F1142 #420F2A
square
#42400F #0F4226 #0F1142 #420F2A
split-complementary
#42400F #0F2A42 #260F42
monochromatic
#191806 #191806 #42400F #74701A #A6A126

Accessibility & contrast

On white

10.65
#42400F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42400F
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42400F#FFFFFF#000000##FFFFFF
##42400F1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42400f;
/* rgb */ color: rgb(66, 64, 15);
/* oklch */ color: oklch(36.3% 0.067 107.0);
Tailwind
colors: {
  custom: {
    50: '#787451',
    500: '#42400f',
    950: '#000000',
  },
}
SCSS
$custom: #42400f;
$custom-light: #787451;
$custom-dark: #000000;
JSON
{
  "hex": "#42400f",
  "rgb": {
    "r": 66,
    "g": 64,
    "b": 15
  },
  "hsl": {
    "h": 57.647,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.36281,
    "c": 0.06741,
    "h": 107
  },
  "luminance": 0.0486
}

Semantic roles & 50–950 ramp

primary
#42400F
secondary
#30337C
accent
#48E642
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42400F

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

Preview Lab → · Contrast checker → · Palette generator →

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