#42470E#42470E

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

Color values

HEX#42470E
RGBrgb(66, 71, 14)
HSLhsl(65, 67%, 17%)
HSVhsv(65, 80%, 28%)
CMYKcmyk(7%, 0%, 80.3%, 72.2%)
CIE-LABlab(28.63, -10.45, 31.55)
CIE-LCHlch(28.63, 33.24, 108.32°)
OKLaboklab(38.12% -0.0318 0.07)
OKLCHoklch(38.12% 0.077 114.5)
XYZxyz(4.5794, 5.6965, 1.2737)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42470E #130E47
analogous
#47300E #42470E #26470E
triadic
#42470E #0E4247 #470E42
tetradic
#42470E #0E4730 #130E47 #470E26
square
#42470E #0E4730 #130E47 #470E26
split-complementary
#42470E #0E2647 #300E47
monochromatic
#181A05 #181A05 #42470E #727A18 #A1AD22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42470E#FFFFFF#000000##FFFFFF
##42470E1.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)
#4D4305
Deuteranopia (green-blind)
#4D4413
Tritanopia (blue-blind)
#47423C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #42470e;
/* rgb */ color: rgb(66, 71, 14);
/* oklch */ color: oklch(38.1% 0.077 114.5);
Tailwind
colors: {
  custom: {
    50: '#797a51',
    500: '#42470e',
    950: '#000000',
  },
}
SCSS
$custom: #42470e;
$custom-light: #797a51;
$custom-dark: #000000;
JSON
{
  "hex": "#42470e",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 65.263,
    "s": 67.059,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38119,
    "c": 0.07687,
    "h": 114.5
  },
  "luminance": 0.05696
}

Semantic roles & 50–950 ramp

primary
#42470E
secondary
#362F82
accent
#3EEA4D
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42470E

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

Preview Lab → · Contrast checker → · Palette generator →

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