#42460C#42460C

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

Color values

HEX#42460C
RGBrgb(66, 70, 12)
HSLhsl(64, 71%, 16%)
HSVhsv(64, 83%, 27%)
CMYKcmyk(5.7%, 0%, 82.9%, 72.5%)
CIE-LABlab(28.29, -9.97, 32.04)
CIE-LCHlch(28.29, 33.56, 107.28°)
OKLaboklab(37.84% -0.0307 0.0706)
OKLCHoklch(37.84% 0.077 113.5)
XYZxyz(4.5034, 5.5652, 1.1847)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42460C #100C46
analogous
#462D0C #42460C #25460C
triadic
#42460C #0C4246 #460C42
tetradic
#42460C #0C462D #100C46 #460C25
square
#42460C #0C462D #100C46 #460C25
split-complementary
#42460C #0C2546 #2D0C46
monochromatic
#191A04 #191A04 #42460C #737A15 #A5AE1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #42460c;
/* rgb */ color: rgb(66, 70, 12);
/* oklch */ color: oklch(37.8% 0.077 113.5);
Tailwind
colors: {
  custom: {
    50: '#797950',
    500: '#42460c',
    950: '#000000',
  },
}
SCSS
$custom: #42460c;
$custom-light: #797950;
$custom-dark: #000000;
JSON
{
  "hex": "#42460c",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 12
  },
  "hsl": {
    "h": 64.138,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.37837,
    "c": 0.07697,
    "h": 113.5
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#42460C
secondary
#322C82
accent
#3AED47
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42460C

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

Preview Lab → · Contrast checker → · Palette generator →

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