#42490C#42490C

#42490C is a dark, moderate yellow. Relative luminance 0.059; OKLCH L 38.6% C 0.081 H 116.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#42490C
RGBrgb(66, 73, 12)
HSLhsl(67, 72%, 17%)
HSVhsv(67, 84%, 29%)
CMYKcmyk(9.6%, 0%, 83.6%, 71.4%)
CIE-LABlab(29.29, -11.73, 32.98)
CIE-LCHlch(29.29, 35.00, 109.58°)
OKLaboklab(38.64% -0.0356 0.0726)
OKLCHoklch(38.64% 0.081 116.1)
XYZxyz(4.6958, 5.9500, 1.2488)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42490C #130C49
analogous
#49320C #42490C #24490C
triadic
#42490C #0C4249 #490C42
tetradic
#42490C #0C4932 #130C49 #490C24
square
#42490C #0C4932 #130C49 #490C24
split-complementary
#42490C #0C2449 #320C49
monochromatic
#181A04 #181A04 #42490C #727E15 #A1B21D

Accessibility & contrast

On white

9.59
#42490C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#42490C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42490C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42490C#FFFFFF#000000##FFFFFF
##42490C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4501
Deuteranopia (green-blind)
#4E4511
Tritanopia (blue-blind)
#47443E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #42490c;
/* rgb */ color: rgb(66, 73, 12);
/* oklch */ color: oklch(38.6% 0.081 116.1);
Tailwind
colors: {
  custom: {
    50: '#797b50',
    500: '#42490c',
    950: '#000000',
  },
}
SCSS
$custom: #42490c;
$custom-light: #797b50;
$custom-dark: #000000;
JSON
{
  "hex": "#42490c",
  "rgb": {
    "r": 66,
    "g": 73,
    "b": 12
  },
  "hsl": {
    "h": 66.885,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.38638,
    "c": 0.08082,
    "h": 116.1
  },
  "luminance": 0.0595
}

Semantic roles & 50–950 ramp

primary
#42490C
secondary
#362C85
accent
#39EE4E
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42490C

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

Preview Lab → · Contrast checker → · Palette generator →

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