#42460A#42460A

#42460A is a dark, moderate yellow. Relative luminance 0.056; OKLCH L 37.8% C 0.078 H 113.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#42460A
RGBrgb(66, 70, 10)
HSLhsl(64, 75%, 16%)
HSVhsv(64, 86%, 27%)
CMYKcmyk(5.7%, 0%, 85.7%, 72.5%)
CIE-LABlab(28.28, -10.07, 32.79)
CIE-LCHlch(28.28, 34.30, 107.07°)
OKLaboklab(37.82% -0.0312 0.0718)
OKLCHoklch(37.82% 0.078 113.5)
XYZxyz(4.4919, 5.5606, 1.1238)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42460A #0E0A46
analogous
#462C0A #42460A #24460A
triadic
#42460A #0A4246 #460A42
tetradic
#42460A #0A462C #0E0A46 #460A24
square
#42460A #0A462C #0E0A46 #460A24
split-complementary
#42460A #0A2446 #2C0A46
monochromatic
#191B04 #191B04 #42460A #747C12 #A7B119

Accessibility & contrast

On white

9.94
#42460A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#42460A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42460A
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42460A#FFFFFF#000000##FFFFFF
##42460A1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4200
Deuteranopia (green-blind)
#4C430F
Tritanopia (blue-blind)
#47413B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #42460a;
/* rgb */ color: rgb(66, 70, 10);
/* oklch */ color: oklch(37.8% 0.078 113.5);
Tailwind
colors: {
  custom: {
    50: '#79794f',
    500: '#42460a',
    950: '#000000',
  },
}
SCSS
$custom: #42460a;
$custom-light: #79794f;
$custom-dark: #000000;
JSON
{
  "hex": "#42460a",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 10
  },
  "hsl": {
    "h": 64,
    "s": 75,
    "l": 15.686
  },
  "oklch": {
    "l": 0.37824,
    "c": 0.07825,
    "h": 113.5
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#42460A
secondary
#2F2983
accent
#36F243
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42460A

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

Preview Lab → · Contrast checker → · Palette generator →

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