#42450D#42450D

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

Color values

HEX#42450D
RGBrgb(66, 69, 13)
HSLhsl(63, 68%, 16%)
HSVhsv(63, 81%, 27%)
CMYKcmyk(4.3%, 0%, 81.2%, 72.9%)
CIE-LABlab(27.96, -9.32, 31.33)
CIE-LCHlch(27.96, 32.68, 106.57°)
OKLaboklab(37.58% -0.0288 0.0693)
OKLCHoklch(37.58% 0.075 112.6)
XYZxyz(4.4477, 5.4437, 1.1971)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42450D #100D45
analogous
#452C0D #42450D #26450D
triadic
#42450D #0D4245 #450D42
tetradic
#42450D #0D452C #100D45 #450D26
square
#42450D #0D452C #100D45 #450D26
split-complementary
#42450D #0D2645 #2C0D45
monochromatic
#191A05 #191A05 #42450D #737817 #A5AC20

Accessibility & contrast

On white

10.05
#42450D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #42450D
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42450D#FFFFFF#000000##FFFFFF
##42450D1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #42450d;
/* rgb */ color: rgb(66, 69, 13);
/* oklch */ color: oklch(37.6% 0.075 112.6);
Tailwind
colors: {
  custom: {
    50: '#797850',
    500: '#42450d',
    950: '#000000',
  },
}
SCSS
$custom: #42450d;
$custom-light: #797850;
$custom-dark: #000000;
JSON
{
  "hex": "#42450d",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 13
  },
  "hsl": {
    "h": 63.214,
    "s": 68.293,
    "l": 16.078
  },
  "oklch": {
    "l": 0.37579,
    "c": 0.07503,
    "h": 112.6
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#42450D
secondary
#322D80
accent
#3DEB46
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090902
muted
#7B7B78

Preview Lab

Preview with #42450D

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

Preview Lab → · Contrast checker → · Palette generator →

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