#42460B#42460B

#42460B 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#42460B
RGBrgb(66, 70, 11)
HSLhsl(64, 73%, 16%)
HSVhsv(64, 84%, 27%)
CMYKcmyk(5.7%, 0%, 84.3%, 72.5%)
CIE-LABlab(28.28, -10.02, 32.42)
CIE-LCHlch(28.28, 33.94, 107.17°)
OKLaboklab(37.83% -0.031 0.0712)
OKLCHoklch(37.83% 0.078 113.5)
XYZxyz(4.4975, 5.5628, 1.1534)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42460B #0F0B46
analogous
#462C0B #42460B #24460B
triadic
#42460B #0B4246 #460B42
tetradic
#42460B #0B462C #0F0B46 #460B24
square
#42460B #0B462C #0F0B46 #460B24
split-complementary
#42460B #0B2446 #2C0B46
monochromatic
#191A04 #191A04 #42460B #747B13 #A6B01C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42460B#FFFFFF#000000##FFFFFF
##42460B1.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)
#4C4201
Deuteranopia (green-blind)
#4C4310
Tritanopia (blue-blind)
#47413B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #42460b;
/* rgb */ color: rgb(66, 70, 11);
/* oklch */ color: oklch(37.8% 0.078 113.5);
Tailwind
colors: {
  custom: {
    50: '#797950',
    500: '#42460b',
    950: '#000000',
  },
}
SCSS
$custom: #42460b;
$custom-light: #797950;
$custom-dark: #000000;
JSON
{
  "hex": "#42460b",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 11
  },
  "hsl": {
    "h": 64.068,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.3783,
    "c": 0.07762,
    "h": 113.5
  },
  "luminance": 0.05563
}

Semantic roles & 50–950 ramp

primary
#42460B
secondary
#302A82
accent
#38F045
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42460B

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

Preview Lab → · Contrast checker → · Palette generator →

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