#42471D#42471D

#42471D is a dark, moderate yellow. Relative luminance 0.058; OKLCH L 38.3% C 0.063 H 115.1°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#42471D
RGBrgb(66, 71, 29)
HSLhsl(67, 42%, 20%)
HSVhsv(67, 59%, 28%)
CMYKcmyk(7%, 0%, 59.2%, 72.2%)
CIE-LABlab(28.78, -9.22, 24.23)
CIE-LCHlch(28.78, 25.92, 110.83°)
OKLaboklab(38.29% -0.0266 0.0569)
OKLCHoklch(38.29% 0.063 115.1)
XYZxyz(4.7219, 5.7535, 2.0240)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42471D #221D47
analogous
#47371D #42471D #2D471D
triadic
#42471D #1D4247 #471D42
tetradic
#42471D #1D4737 #221D47 #471D2D
square
#42471D #1D4737 #221D47 #471D2D
split-complementary
#42471D #1D2D47 #371D47
monochromatic
#141609 #1A1C0B #42471D #6A722F #939E40

Accessibility & contrast

On white

9.76
#42471D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#42471D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42471D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42471D#FFFFFF#000000##FFFFFF
##42471D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4419
Deuteranopia (green-blind)
#4C441F
Tritanopia (blue-blind)
#46433E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #42471d;
/* rgb */ color: rgb(66, 71, 29);
/* oklch */ color: oklch(38.3% 0.063 115.1);
Tailwind
colors: {
  custom: {
    50: '#777a5a',
    500: '#42471d',
    950: '#000000',
  },
}
SCSS
$custom: #42471d;
$custom-light: #777a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#42471d",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 29
  },
  "hsl": {
    "h": 67.143,
    "s": 42,
    "l": 19.608
  },
  "oklch": {
    "l": 0.38285,
    "c": 0.0628,
    "h": 115.1
  },
  "luminance": 0.05753
}

Semantic roles & 50–950 ramp

primary
#42471D
secondary
#4A447C
accent
#56D265
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090904
muted
#7B7B79

Preview Lab

Preview with #42471D

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

Preview Lab → · Contrast checker → · Palette generator →

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