#42460E#42460E

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

Color values

HEX#42460E
RGBrgb(66, 70, 14)
HSLhsl(64, 67%, 16%)
HSVhsv(64, 80%, 27%)
CMYKcmyk(5.7%, 0%, 80%, 72.5%)
CIE-LABlab(28.30, -9.86, 31.23)
CIE-LCHlch(28.30, 32.75, 107.51°)
OKLaboklab(37.85% -0.0302 0.0693)
OKLCHoklch(37.85% 0.076 113.5)
XYZxyz(4.5163, 5.5704, 1.2527)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42460E #120E46
analogous
#462E0E #42460E #26460E
triadic
#42460E #0E4246 #460E42
tetradic
#42460E #0E462E #120E46 #460E26
square
#42460E #0E462E #120E46 #460E26
split-complementary
#42460E #0E2646 #2E0E46
monochromatic
#181A05 #181A05 #42460E #727918 #A2AC22

Accessibility & contrast

On white

9.93
#42460E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42460E
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42460E#FFFFFF#000000##FFFFFF
##42460E1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42460e;
/* rgb */ color: rgb(66, 70, 14);
/* oklch */ color: oklch(37.9% 0.076 113.5);
Tailwind
colors: {
  custom: {
    50: '#797951',
    500: '#42460e',
    950: '#000000',
  },
}
SCSS
$custom: #42460e;
$custom-light: #797951;
$custom-dark: #000000;
JSON
{
  "hex": "#42460e",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 14
  },
  "hsl": {
    "h": 64.286,
    "s": 66.667,
    "l": 16.471
  },
  "oklch": {
    "l": 0.37853,
    "c": 0.07558,
    "h": 113.5
  },
  "luminance": 0.0557
}

Semantic roles & 50–950 ramp

primary
#42460E
secondary
#352F81
accent
#3EEA4A
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42460E

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

Preview Lab → · Contrast checker → · Palette generator →

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