#42270F#42270F

#42270F is a dark, muted orange. Relative luminance 0.026; OKLCH L 30.2% C 0.054 H 59.9°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#42270F
RGBrgb(66, 39, 15)
HSLhsl(28, 63%, 16%)
HSVhsv(28, 77%, 26%)
CMYKcmyk(0%, 40.9%, 77.3%, 74.1%)
CIE-LABlab(18.56, 10.08, 20.54)
CIE-LCHlch(18.56, 22.88, 63.86°)
OKLaboklab(30.16% 0.0273 0.0471)
OKLCHoklch(30.16% 0.054 59.9)
XYZxyz(3.0587, 2.6441, 0.8011)
Luminance0.0264 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#42270F #0F2A42
analogous
#420F10 #42270F #42400F
triadic
#42270F #0F4227 #270F42
tetradic
#42270F #10420F #0F2A42 #400F42
square
#42270F #10420F #0F2A42 #400F42
split-complementary
#42270F #0F4240 #0F1042
monochromatic
#190F06 #190F06 #42270F #74441A #A66226

Accessibility & contrast

On white

13.74
#42270F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#42270F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #42270F
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##42270F#FFFFFF#000000##FFFFFF
##42270F1.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A0C
Deuteranopia (green-blind)
#36300F
Tritanopia (blue-blind)
#492122
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #42270f;
/* rgb */ color: rgb(66, 39, 15);
/* oklch */ color: oklch(30.2% 0.054 59.9);
Tailwind
colors: {
  custom: {
    50: '#79614e',
    500: '#42270f',
    950: '#000000',
  },
}
SCSS
$custom: #42270f;
$custom-light: #79614e;
$custom-dark: #000000;
JSON
{
  "hex": "#42270f",
  "rgb": {
    "r": 66,
    "g": 39,
    "b": 15
  },
  "hsl": {
    "h": 28.235,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.30164,
    "c": 0.05448,
    "h": 59.9
  },
  "luminance": 0.02644
}

Semantic roles & 50–950 ramp

primary
#42270F
secondary
#30597C
accent
#99E642
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #42270F

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

Preview Lab → · Contrast checker → · Palette generator →

#42270F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva