#42471B#42471B

#42471B is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.3% C 0.065 H 114.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#42471B
RGBrgb(66, 71, 27)
HSLhsl(67, 45%, 19%)
HSVhsv(67, 62%, 28%)
CMYKcmyk(7%, 0%, 62%, 72.2%)
CIE-LABlab(28.76, -9.42, 25.31)
CIE-LCHlch(28.76, 27.01, 110.42°)
OKLaboklab(38.26% -0.0274 0.059)
OKLCHoklch(38.26% 0.065 114.9)
XYZxyz(4.6979, 5.7439, 1.8979)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42471B #201B47
analogous
#47361B #42471B #2C471B
triadic
#42471B #1B4247 #471B42
tetradic
#42471B #1B4736 #201B47 #471B2C
square
#42471B #1B4736 #201B47 #471B2C
split-complementary
#42471B #1B2C47 #361B47
monochromatic
#151608 #191B0A #42471B #6B732C #94A03D

Accessibility & contrast

On white

9.77
#42471B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42471B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42471B#FFFFFF#000000##FFFFFF
##42471B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4316
Deuteranopia (green-blind)
#4C441E
Tritanopia (blue-blind)
#46433D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #42471b;
/* rgb */ color: rgb(66, 71, 27);
/* oklch */ color: oklch(38.3% 0.065 114.9);
Tailwind
colors: {
  custom: {
    50: '#787a59',
    500: '#42471b',
    950: '#000000',
  },
}
SCSS
$custom: #42471b;
$custom-light: #787a59;
$custom-dark: #000000;
JSON
{
  "hex": "#42471b",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 27
  },
  "hsl": {
    "h": 66.818,
    "s": 44.898,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38257,
    "c": 0.06503,
    "h": 114.9
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#42471B
secondary
#48417D
accent
#53D562
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090903
muted
#7B7B78

Preview Lab

Preview with #42471B

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

Preview Lab → · Contrast checker → · Palette generator →

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