#42470F#42470F

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

Color values

HEX#42470F
RGBrgb(66, 71, 15)
HSLhsl(65, 65%, 17%)
HSVhsv(65, 79%, 28%)
CMYKcmyk(7%, 0%, 78.9%, 72.2%)
CIE-LABlab(28.64, -10.39, 31.14)
CIE-LCHlch(28.64, 32.82, 108.45°)
OKLaboklab(38.13% -0.0315 0.0693)
OKLCHoklch(38.13% 0.076 114.5)
XYZxyz(4.5864, 5.6993, 1.3103)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42470F #140F47
analogous
#47300F #42470F #26470F
triadic
#42470F #0F4247 #470F42
tetradic
#42470F #0F4730 #140F47 #470F26
square
#42470F #0F4730 #140F47 #470F26
split-complementary
#42470F #0F2647 #300F47
monochromatic
#171905 #171905 #42470F #717A1A #A0AC24

Accessibility & contrast

On white

9.81
#42470F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42470F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42470F#FFFFFF#000000##FFFFFF
##42470F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4306
Deuteranopia (green-blind)
#4C4413
Tritanopia (blue-blind)
#47423C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #42470f;
/* rgb */ color: rgb(66, 71, 15);
/* oklch */ color: oklch(38.1% 0.076 114.5);
Tailwind
colors: {
  custom: {
    50: '#787a52',
    500: '#42470f',
    950: '#000000',
  },
}
SCSS
$custom: #42470f;
$custom-light: #787a52;
$custom-dark: #000000;
JSON
{
  "hex": "#42470f",
  "rgb": {
    "r": 66,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 65.357,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.38127,
    "c": 0.07613,
    "h": 114.5
  },
  "luminance": 0.05699
}

Semantic roles & 50–950 ramp

primary
#42470F
secondary
#383081
accent
#40E84F
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42470F

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

Preview Lab → · Contrast checker → · Palette generator →

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