#42450C#42450C

#42450C 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#42450C
RGBrgb(66, 69, 12)
HSLhsl(63, 70%, 16%)
HSVhsv(63, 83%, 27%)
CMYKcmyk(4.3%, 0%, 82.6%, 72.9%)
CIE-LABlab(27.96, -9.37, 31.73)
CIE-LCHlch(27.96, 33.08, 106.46°)
OKLaboklab(37.57% -0.0291 0.0699)
OKLCHoklch(37.57% 0.076 112.6)
XYZxyz(4.4414, 5.4411, 1.1640)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42450C #0F0C45
analogous
#452B0C #42450C #25450C
triadic
#42450C #0C4245 #450C42
tetradic
#42450C #0C452B #0F0C45 #450C25
square
#42450C #0C452B #0F0C45 #450C25
split-complementary
#42450C #0C2545 #2B0C45
monochromatic
#191A05 #191A05 #42450C #747915 #A6AD1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##42450C#FFFFFF#000000##FFFFFF
##42450C1.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)
#4B4103
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#47403A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #42450c;
/* rgb */ color: rgb(66, 69, 12);
/* oklch */ color: oklch(37.6% 0.076 112.6);
Tailwind
colors: {
  custom: {
    50: '#797850',
    500: '#42450c',
    950: '#000000',
  },
}
SCSS
$custom: #42450c;
$custom-light: #797850;
$custom-dark: #000000;
JSON
{
  "hex": "#42450c",
  "rgb": {
    "r": 66,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 63.158,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.37572,
    "c": 0.07572,
    "h": 112.6
  },
  "luminance": 0.05441
}

Semantic roles & 50–950 ramp

primary
#42450C
secondary
#302C81
accent
#3BED44
background
#F7F7F4
surface
#EDEDE7
border
#C8C8C3
text
#090802
muted
#7B7B78

Preview Lab

Preview with #42450C

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

Preview Lab → · Contrast checker → · Palette generator →

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