#40210F#40210F

#40210F is a dark, muted orange. Relative luminance 0.022; OKLCH L 28.6% C 0.056 H 49.3°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#40210F
RGBrgb(64, 33, 15)
HSLhsl(22, 62%, 15%)
HSVhsv(22, 77%, 25%)
CMYKcmyk(0%, 48.4%, 76.6%, 74.9%)
CIE-LABlab(16.57, 13.03, 18.06)
CIE-LCHlch(16.57, 22.27, 54.18°)
OKLaboklab(28.56% 0.0364 0.0422)
OKLCHoklch(28.56% 0.056 49.3)
XYZxyz(2.7447, 2.2125, 0.7344)
Luminance0.0221 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40210F #0F2E40
analogous
#400F15 #40210F #40390F
triadic
#40210F #0F4021 #210F40
tetradic
#40210F #15400F #0F2E40 #390F40
square
#40210F #15400F #0F2E40 #390F40
split-complementary
#40210F #0F4039 #0F1540
monochromatic
#190D06 #190D06 #40210F #723B1B #A35426

Accessibility & contrast

On white

14.56
#40210F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#40210F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40210F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40210F#FFFFFF#000000##FFFFFF
##40210F1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A250D
Deuteranopia (green-blind)
#312C0F
Tritanopia (blue-blind)
#471B1D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #40210f;
/* rgb */ color: rgb(64, 33, 15);
/* oklch */ color: oklch(28.6% 0.056 49.3);
Tailwind
colors: {
  custom: {
    50: '#785c4e',
    500: '#40210f',
    950: '#000000',
  },
}
SCSS
$custom: #40210f;
$custom-light: #785c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40210f",
  "rgb": {
    "r": 64,
    "g": 33,
    "b": 15
  },
  "hsl": {
    "h": 22.041,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28559,
    "c": 0.05573,
    "h": 49.3
  },
  "luminance": 0.02212
}

Semantic roles & 50–950 ramp

primary
#40210F
secondary
#305F7A
accent
#A9E543
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40210F

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

Preview Lab → · Contrast checker → · Palette generator →

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