#42460D#42460D

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

Color values

HEX#42460D
RGBrgb(66, 70, 13)
HSLhsl(64, 69%, 16%)
HSVhsv(64, 81%, 27%)
CMYKcmyk(5.7%, 0%, 81.4%, 72.5%)
CIE-LABlab(28.29, -9.91, 31.64)
CIE-LCHlch(28.29, 33.16, 107.39°)
OKLaboklab(37.85% -0.0304 0.07)
OKLCHoklch(37.85% 0.076 113.5)
XYZxyz(4.5097, 5.5677, 1.2178)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42460D #110D46
analogous
#462E0D #42460D #26460D
triadic
#42460D #0D4246 #460D42
tetradic
#42460D #0D462E #110D46 #460D26
square
#42460D #0D462E #110D46 #460D26
split-complementary
#42460D #0D2646 #2E0D46
monochromatic
#181A05 #181A05 #42460D #737A17 #A3AD20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #42460d;
/* rgb */ color: rgb(66, 70, 13);
/* oklch */ color: oklch(37.8% 0.076 113.5);
Tailwind
colors: {
  custom: {
    50: '#797951',
    500: '#42460d',
    950: '#000000',
  },
}
SCSS
$custom: #42460d;
$custom-light: #797951;
$custom-dark: #000000;
JSON
{
  "hex": "#42460d",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 13
  },
  "hsl": {
    "h": 64.211,
    "s": 68.675,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37845,
    "c": 0.07629,
    "h": 113.5
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#42460D
secondary
#332D81
accent
#3CEC49
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42460D

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

Preview Lab → · Contrast checker → · Palette generator →

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