#42470D#42470D

#42470D is a dark, moderate yellow. Relative luminance 0.057; OKLCH L 38.1% C 0.078 H 114.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#42470D
RGBrgb(66, 71, 13)
HSLhsl(65, 69%, 16%)
HSVhsv(65, 82%, 28%)
CMYKcmyk(7%, 0%, 81.7%, 72.2%)
CIE-LABlab(28.63, -10.50, 31.96)
CIE-LCHlch(28.63, 33.64, 108.19°)
OKLaboklab(38.11% -0.0321 0.0706)
OKLCHoklch(38.11% 0.078 114.4)
XYZxyz(4.5728, 5.6939, 1.2388)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42470D #120D47
analogous
#472F0D #42470D #25470D
triadic
#42470D #0D4247 #470D42
tetradic
#42470D #0D472F #120D47 #470D25
square
#42470D #0D472F #120D47 #470D25
split-complementary
#42470D #0D2547 #2F0D47
monochromatic
#181A05 #181A05 #42470D #727B16 #A2AE20

Accessibility & contrast

On white

9.82
#42470D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#42470D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42470D
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42470D#FFFFFF#000000##FFFFFF
##42470D1.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4303
Deuteranopia (green-blind)
#4D4412
Tritanopia (blue-blind)
#47423C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #42470d;
/* rgb */ color: rgb(66, 71, 13);
/* oklch */ color: oklch(38.1% 0.078 114.4);
Tailwind
colors: {
  custom: {
    50: '#797a51',
    500: '#42470d',
    950: '#000000',
  },
}
SCSS
$custom: #42470d;
$custom-light: #797a51;
$custom-dark: #000000;
JSON
{
  "hex": "#42470d",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 65.172,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.07757,
    "h": 114.4
  },
  "luminance": 0.05694
}

Semantic roles & 50–950 ramp

primary
#42470D
secondary
#352D82
accent
#3CEC4B
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42470D

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

Preview Lab → · Contrast checker → · Palette generator →

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