#42450B#42450B

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

Color values

HEX#42450B
RGBrgb(66, 69, 11)
HSLhsl(63, 73%, 16%)
HSVhsv(63, 84%, 27%)
CMYKcmyk(4.3%, 0%, 84.1%, 72.9%)
CIE-LABlab(27.95, -9.43, 32.12)
CIE-LCHlch(27.95, 33.47, 106.36°)
OKLaboklab(37.57% -0.0293 0.0705)
OKLCHoklch(37.57% 0.076 112.6)
XYZxyz(4.4354, 5.4388, 1.1327)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42450B #0E0B45
analogous
#452B0B #42450B #25450B
triadic
#42450B #0B4245 #450B42
tetradic
#42450B #0B452B #0E0B45 #450B25
square
#42450B #0B452B #0E0B45 #450B25
split-complementary
#42450B #0B2545 #2B0B45
monochromatic
#191A04 #191A04 #42450B #747A13 #A7AF1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42450B#FFFFFF#000000##FFFFFF
##42450B1.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)
#4B4101
Deuteranopia (green-blind)
#4B4310
Tritanopia (blue-blind)
#47403A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #42450b;
/* rgb */ color: rgb(66, 69, 11);
/* oklch */ color: oklch(37.6% 0.076 112.6);
Tailwind
colors: {
  custom: {
    50: '#79784f',
    500: '#42450b',
    950: '#000000',
  },
}
SCSS
$custom: #42450b;
$custom-light: #79784f;
$custom-dark: #000000;
JSON
{
  "hex": "#42450b",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 63.103,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.37565,
    "c": 0.07638,
    "h": 112.6
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#42450B
secondary
#2F2A81
accent
#39EF42
background
#F7F7F4
surface
#EEEDE7
border
#C9C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42450B

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

Preview Lab → · Contrast checker → · Palette generator →

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