#402907#402907

#402907 is a dark, muted orange. Relative luminance 0.027; OKLCH L 30.2% C 0.058 H 72.3°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#402907
RGBrgb(64, 41, 7)
HSLhsl(36, 80%, 14%)
HSVhsv(36, 89%, 25%)
CMYKcmyk(0%, 35.9%, 89.1%, 74.9%)
CIE-LABlab(18.76, 7.22, 24.27)
CIE-LCHlch(18.76, 25.32, 73.44°)
OKLaboklab(30.23% 0.0176 0.0551)
OKLCHoklch(30.23% 0.058 72.3)
XYZxyz(2.9459, 2.6915, 0.5653)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402907 #071E40
analogous
#400C07 #402907 #3B4007
triadic
#402907 #074029 #290740
tetradic
#402907 #07400C #071E40 #40073B
square
#402907 #07400C #071E40 #40073B
split-complementary
#402907 #073B40 #0C0740
monochromatic
#1C1203 #1C1203 #402907 #774C0D #AE7013

Accessibility & contrast

On white

13.65
#402907 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#402907 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #402907
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402907#FFFFFF#000000##FFFFFF
##4029071.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A03
Deuteranopia (green-blind)
#363008
Tritanopia (blue-blind)
#472322
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #402907;
/* rgb */ color: rgb(64, 41, 7);
/* oklch */ color: oklch(30.2% 0.058 72.3);
Tailwind
colors: {
  custom: {
    50: '#78624a',
    500: '#402907',
    950: '#000000',
  },
}
SCSS
$custom: #402907;
$custom-light: #78624a;
$custom-dark: #000000;
JSON
{
  "hex": "#402907",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 7
  },
  "hsl": {
    "h": 35.789,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.30233,
    "c": 0.0578,
    "h": 72.3
  },
  "luminance": 0.02691
}

Semantic roles & 50–950 ramp

primary
#402907
secondary
#24497F
accent
#81F731
background
#F7F5F4
surface
#EEEAE7
border
#C9C6C3
text
#090501
muted
#7B7977

Preview Lab

Preview with #402907

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

Preview Lab → · Contrast checker → · Palette generator →

#402907 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva