#40230B#40230B

#40230B is a dark, muted orange. Relative luminance 0.023; OKLCH L 28.9% C 0.057 H 57.2°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#40230B
RGBrgb(64, 35, 11)
HSLhsl(27, 71%, 15%)
HSVhsv(27, 83%, 25%)
CMYKcmyk(0%, 45.3%, 82.8%, 74.9%)
CIE-LABlab(17.07, 11.45, 20.59)
CIE-LCHlch(17.07, 23.56, 60.93°)
OKLaboklab(28.93% 0.0308 0.0478)
OKLCHoklch(28.93% 0.057 57.2)
XYZxyz(2.7760, 2.3165, 0.6175)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40230B #0B2840
analogous
#400B0D #40230B #403E0B
triadic
#40230B #0B4023 #230B40
tetradic
#40230B #0D400B #0B2840 #3E0B40
square
#40230B #0D400B #0B2840 #3E0B40
split-complementary
#40230B #0B403E #0B0D40
monochromatic
#1A0E04 #1A0E04 #40230B #744014 #A85C1D

Accessibility & contrast

On white

14.35
#40230B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#40230B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40230B
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40230B#FFFFFF#000000##FFFFFF
##40230B1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2608
Deuteranopia (green-blind)
#332D0B
Tritanopia (blue-blind)
#471D1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #40230b;
/* rgb */ color: rgb(64, 35, 11);
/* oklch */ color: oklch(28.9% 0.057 57.2);
Tailwind
colors: {
  custom: {
    50: '#785e4c',
    500: '#40230b',
    950: '#000000',
  },
}
SCSS
$custom: #40230b;
$custom-light: #785e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40230b",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 11
  },
  "hsl": {
    "h": 27.17,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.2893,
    "c": 0.05684,
    "h": 57.2
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#40230B
secondary
#2A577D
accent
#9CED3A
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40230B

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

Preview Lab → · Contrast checker → · Palette generator →

#40230B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva