#42471E#42471E

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

Color values

HEX#42471E
RGBrgb(66, 71, 30)
HSLhsl(67, 41%, 20%)
HSVhsv(67, 58%, 28%)
CMYKcmyk(7%, 0%, 57.7%, 72.2%)
CIE-LABlab(28.79, -9.11, 23.68)
CIE-LCHlch(28.79, 25.37, 111.04°)
OKLaboklab(38.3% -0.0262 0.0558)
OKLCHoklch(38.3% 0.062 115.1)
XYZxyz(4.7344, 5.7585, 2.0901)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42471E #231E47
analogous
#47381E #42471E #2E471E
triadic
#42471E #1E4247 #471E42
tetradic
#42471E #1E4738 #231E47 #471E2E
square
#42471E #1E4738 #231E47 #471E2E
split-complementary
#42471E #1E2E47 #381E47
monochromatic
#141609 #1A1C0C #42471E #6A7230 #929D42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42471E#FFFFFF#000000##FFFFFF
##42471E1.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)
#4C441A
Deuteranopia (green-blind)
#4B4420
Tritanopia (blue-blind)
#46433E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #42471e;
/* rgb */ color: rgb(66, 71, 30);
/* oklch */ color: oklch(38.3% 0.062 115.1);
Tailwind
colors: {
  custom: {
    50: '#777a5b',
    500: '#42471e',
    950: '#000000',
  },
}
SCSS
$custom: #42471e;
$custom-light: #777a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#42471e",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 30
  },
  "hsl": {
    "h": 67.317,
    "s": 40.594,
    "l": 19.804
  },
  "oklch": {
    "l": 0.383,
    "c": 0.06164,
    "h": 115.1
  },
  "luminance": 0.05758
}

Semantic roles & 50–950 ramp

primary
#42471E
secondary
#4C457C
accent
#57D066
background
#F7F7F5
surface
#EDEDE9
border
#C8C8C5
text
#090904
muted
#7B7B79

Preview Lab

Preview with #42471E

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

Preview Lab → · Contrast checker → · Palette generator →

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