#402902#402902

#402902 is a dark, moderate orange. Relative luminance 0.027; OKLCH L 30.2% C 0.062 H 75.1°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#402902
RGBrgb(64, 41, 2)
HSLhsl(38, 94%, 13%)
HSVhsv(38, 97%, 25%)
CMYKcmyk(0%, 35.9%, 96.9%, 74.9%)
CIE-LABlab(18.72, 6.93, 26.25)
CIE-LCHlch(18.72, 27.15, 75.20°)
OKLaboklab(30.18% 0.0158 0.0596)
OKLCHoklch(30.18% 0.062 75.1)
XYZxyz(2.9185, 2.6805, 0.4211)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#402902 #021940
analogous
#400A02 #402902 #384002
triadic
#402902 #024029 #290240
tetradic
#402902 #02400A #021940 #400238
square
#402902 #02400A #021940 #400238
split-complementary
#402902 #023840 #0A0240
monochromatic
#1E1301 #1E1301 #402902 #7B4F04 #B77506

Accessibility & contrast

On white

13.67
#402902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #402902
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##402902#FFFFFF#000000##FFFFFF
##4029021.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #402902;
/* rgb */ color: rgb(64, 41, 2);
/* oklch */ color: oklch(30.2% 0.062 75.1);
Tailwind
colors: {
  custom: {
    50: '#786248',
    500: '#402902',
    950: '#000000',
  },
}
SCSS
$custom: #402902;
$custom-light: #786248;
$custom-dark: #000000;
JSON
{
  "hex": "#402902",
  "rgb": {
    "r": 64,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 37.742,
    "s": 93.939,
    "l": 12.941
  },
  "oklch": {
    "l": 0.30181,
    "c": 0.06164,
    "h": 75.1
  },
  "luminance": 0.0268
}

Semantic roles & 50–950 ramp

primary
#402902
secondary
#1B4283
accent
#78FF29
background
#F7F5F4
surface
#EEEAE6
border
#C9C6C2
text
#090500
muted
#7B7977

Preview Lab

Preview with #402902

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

Preview Lab → · Contrast checker → · Palette generator →

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