#42470B#42470B

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

Color values

HEX#42470B
RGBrgb(66, 71, 11)
HSLhsl(65, 73%, 16%)
HSVhsv(65, 85%, 28%)
CMYKcmyk(7%, 0%, 84.5%, 72.2%)
CIE-LABlab(28.61, -10.61, 32.73)
CIE-LCHlch(28.61, 34.41, 107.96°)
OKLaboklab(38.1% -0.0326 0.0718)
OKLCHoklch(38.1% 0.079 114.4)
XYZxyz(4.5605, 5.6890, 1.1744)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42470B #100B47
analogous
#472E0B #42470B #24470B
triadic
#42470B #0B4247 #470B42
tetradic
#42470B #0B472E #100B47 #470B24
square
#42470B #0B472E #100B47 #470B24
split-complementary
#42470B #0B2447 #2E0B47
monochromatic
#191A04 #191A04 #42470B #737C13 #A5B11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42470B#FFFFFF#000000##FFFFFF
##42470B1.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)
#4D4301
Deuteranopia (green-blind)
#4D4410
Tritanopia (blue-blind)
#47423C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #42470b;
/* rgb */ color: rgb(66, 71, 11);
/* oklch */ color: oklch(38.1% 0.079 114.4);
Tailwind
colors: {
  custom: {
    50: '#797a50',
    500: '#42470b',
    950: '#000000',
  },
}
SCSS
$custom: #42470b;
$custom-light: #797a50;
$custom-dark: #000000;
JSON
{
  "hex": "#42470b",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 65,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.38097,
    "c": 0.07889,
    "h": 114.4
  },
  "luminance": 0.05689
}

Semantic roles & 50–950 ramp

primary
#42470B
secondary
#322A83
accent
#38F047
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42470B

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

Preview Lab → · Contrast checker → · Palette generator →

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