#42462C#42462C

#42462C is a dark, muted yellow. Relative luminance 0.057; OKLCH L 38.3% C 0.042 H 115.5°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#42462C
RGBrgb(66, 70, 44)
HSLhsl(69, 23%, 22%)
HSVhsv(69, 37%, 27%)
CMYKcmyk(5.7%, 0%, 37.1%, 72.5%)
CIE-LABlab(28.70, -6.67, 15.16)
CIE-LCHlch(28.70, 16.56, 113.76°)
OKLaboklab(38.3% -0.018 0.0376)
OKLCHoklch(38.3% 0.042 115.5)
XYZxyz(4.8916, 5.7205, 3.2289)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42462C #302C46
analogous
#463D2C #42462C #35462C
triadic
#42462C #2C4246 #462C42
tetradic
#42462C #2C463D #302C46 #462C35
square
#42462C #2C463D #302C46 #462C35
split-complementary
#42462C #2C3546 #3D2C46
monochromatic
#12130C #1F2014 #42462C #656C44 #89915B

Accessibility & contrast

On white

9.79
#42462C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#42462C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42462C
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42462C#FFFFFF#000000##FFFFFF
##42462C1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A432A
Deuteranopia (green-blind)
#49442D
Tritanopia (blue-blind)
#45433F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #42462c;
/* rgb */ color: rgb(66, 70, 44);
/* oklch */ color: oklch(38.3% 0.042 115.5);
Tailwind
colors: {
  custom: {
    50: '#777965',
    500: '#42462c',
    950: '#000000',
  },
}
SCSS
$custom: #42462c;
$custom-light: #777965;
$custom-dark: #000000;
JSON
{
  "hex": "#42462c",
  "rgb": {
    "r": 66,
    "g": 70,
    "b": 44
  },
  "hsl": {
    "h": 69.231,
    "s": 22.807,
    "l": 22.353
  },
  "oklch": {
    "l": 0.38295,
    "c": 0.04167,
    "h": 115.5
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#42462C
secondary
#5C5677
accent
#68BF76
background
#F7F7F6
surface
#EDEDEB
border
#C8C8C6
text
#080905
muted
#7B7B7A

Preview Lab

Preview with #42462C

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

Preview Lab → · Contrast checker → · Palette generator →

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