#42240C#42240C

#42240C is a dark, muted orange. Relative luminance 0.024; OKLCH L 29.5% C 0.058 H 56.3°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#42240C
RGBrgb(66, 36, 12)
HSLhsl(27, 69%, 15%)
HSVhsv(27, 82%, 26%)
CMYKcmyk(0%, 45.5%, 81.8%, 74.1%)
CIE-LABlab(17.68, 11.87, 20.97)
CIE-LCHlch(17.68, 24.09, 60.48°)
OKLaboklab(29.47% 0.0321 0.0482)
OKLCHoklch(29.47% 0.058 56.3)
XYZxyz(2.9442, 2.4469, 0.6650)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42240C #0C2A42
analogous
#420C0F #42240C #423F0C
triadic
#42240C #0C4224 #240C42
tetradic
#42240C #0F420C #0C2A42 #3F0C42
square
#42240C #0F420C #0C2A42 #3F0C42
split-complementary
#42240C #0C423F #0C0F42
monochromatic
#1A0E05 #1A0E05 #42240C #764015 #AA5C1F

Accessibility & contrast

On white

14.10
#42240C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#42240C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42240C
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42240C#FFFFFF#000000##FFFFFF
##42240C1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2709
Deuteranopia (green-blind)
#342E0C
Tritanopia (blue-blind)
#491E1F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #42240c;
/* rgb */ color: rgb(66, 36, 12);
/* oklch */ color: oklch(29.5% 0.058 56.3);
Tailwind
colors: {
  custom: {
    50: '#7a5f4c',
    500: '#42240c',
    950: '#000000',
  },
}
SCSS
$custom: #42240c;
$custom-light: #7a5f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#42240c",
  "rgb": {
    "r": 66,
    "g": 36,
    "b": 12
  },
  "hsl": {
    "h": 26.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29471,
    "c": 0.05793,
    "h": 56.3
  },
  "luminance": 0.02447
}

Semantic roles & 50–950 ramp

primary
#42240C
secondary
#2C597E
accent
#9EEC3C
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#0A0401
muted
#7C7977

Preview Lab

Preview with #42240C

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

Preview Lab → · Contrast checker → · Palette generator →

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