#42470A#42470A

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

Color values

HEX#42470A
RGBrgb(66, 71, 10)
HSLhsl(65, 75%, 16%)
HSVhsv(65, 86%, 28%)
CMYKcmyk(7%, 0%, 85.9%, 72.2%)
CIE-LABlab(28.61, -10.66, 33.10)
CIE-LCHlch(28.61, 34.77, 107.86°)
OKLaboklab(38.09% -0.0328 0.0724)
OKLCHoklch(38.09% 0.08 114.4)
XYZxyz(4.5549, 5.6867, 1.1448)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42470A #0F0A47
analogous
#472D0A #42470A #23470A
triadic
#42470A #0A4247 #470A42
tetradic
#42470A #0A472D #0F0A47 #470A23
square
#42470A #0A472D #0F0A47 #470A23
split-complementary
#42470A #0A2347 #2D0A47
monochromatic
#191B04 #191B04 #42470A #747D12 #A6B219

Accessibility & contrast

On white

9.83
#42470A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42470A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42470A#FFFFFF#000000##FFFFFF
##42470A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42470a;
/* rgb */ color: rgb(66, 71, 10);
/* oklch */ color: oklch(38.1% 0.080 114.4);
Tailwind
colors: {
  custom: {
    50: '#797a4f',
    500: '#42470a',
    950: '#000000',
  },
}
SCSS
$custom: #42470a;
$custom-light: #797a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#42470a",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 10
  },
  "hsl": {
    "h": 64.918,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3809,
    "c": 0.0795,
    "h": 114.4
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#42470A
secondary
#302984
accent
#36F245
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42470A

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

Preview Lab → · Contrast checker → · Palette generator →

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