#42450A#42450A

#42450A is a dark, moderate yellow. Relative luminance 0.054; OKLCH L 37.6% C 0.077 H 112.6°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#42450A
RGBrgb(66, 69, 10)
HSLhsl(63, 75%, 15%)
HSVhsv(63, 86%, 27%)
CMYKcmyk(4.3%, 0%, 85.5%, 72.9%)
CIE-LABlab(27.94, -9.48, 32.49)
CIE-LCHlch(27.94, 33.84, 106.26°)
OKLaboklab(37.56% -0.0295 0.0711)
OKLCHoklch(37.56% 0.077 112.6)
XYZxyz(4.4298, 5.4365, 1.1031)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42450A #0D0A45
analogous
#452A0A #42450A #24450A
triadic
#42450A #0A4245 #450A42
tetradic
#42450A #0A452A #0D0A45 #450A24
square
#42450A #0A452A #0D0A45 #450A24
split-complementary
#42450A #0A2445 #2A0A45
monochromatic
#1A1B04 #1A1B04 #42450A #757A12 #A8B019

Accessibility & contrast

On white

10.06
#42450A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#42450A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42450A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42450A#FFFFFF#000000##FFFFFF
##42450A1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4100
Deuteranopia (green-blind)
#4B430F
Tritanopia (blue-blind)
#47403A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #42450a;
/* rgb */ color: rgb(66, 69, 10);
/* oklch */ color: oklch(37.6% 0.077 112.6);
Tailwind
colors: {
  custom: {
    50: '#79784f',
    500: '#42450a',
    950: '#000000',
  },
}
SCSS
$custom: #42450a;
$custom-light: #79784f;
$custom-dark: #000000;
JSON
{
  "hex": "#42450a",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 10
  },
  "hsl": {
    "h": 63.051,
    "s": 74.684,
    "l": 15.49
  },
  "oklch": {
    "l": 0.37558,
    "c": 0.07701,
    "h": 112.6
  },
  "luminance": 0.05436
}

Semantic roles & 50–950 ramp

primary
#42450A
secondary
#2D2982
accent
#36F140
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42450A

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

Preview Lab → · Contrast checker → · Palette generator →

#42450A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva