#42460F#42460F

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

Color values

HEX#42460F
RGBrgb(66, 70, 15)
HSLhsl(64, 65%, 17%)
HSVhsv(64, 79%, 27%)
CMYKcmyk(5.7%, 0%, 78.6%, 72.5%)
CIE-LABlab(28.31, -9.79, 30.81)
CIE-LCHlch(28.31, 32.33, 107.64°)
OKLaboklab(37.86% -0.0299 0.0686)
OKLCHoklch(37.86% 0.075 113.6)
XYZxyz(4.5233, 5.5732, 1.2893)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42460F #130F46
analogous
#462F0F #42460F #27460F
triadic
#42460F #0F4246 #460F42
tetradic
#42460F #0F462F #130F46 #460F27
square
#42460F #0F462F #130F46 #460F27
split-complementary
#42460F #0F2746 #2F0F46
monochromatic
#181905 #181905 #42460F #72781A #A1AB25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #42460f;
/* rgb */ color: rgb(66, 70, 15);
/* oklch */ color: oklch(37.9% 0.075 113.6);
Tailwind
colors: {
  custom: {
    50: '#787952',
    500: '#42460f',
    950: '#000000',
  },
}
SCSS
$custom: #42460f;
$custom-light: #787952;
$custom-dark: #000000;
JSON
{
  "hex": "#42460f",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 15
  },
  "hsl": {
    "h": 64.364,
    "s": 64.706,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37861,
    "c": 0.07483,
    "h": 113.6
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#42460F
secondary
#363080
accent
#40E84C
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42460F

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

Preview Lab → · Contrast checker → · Palette generator →

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