#40230C#40230C

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

Color values

HEX#40230C
RGBrgb(64, 35, 12)
HSLhsl(27, 68%, 15%)
HSVhsv(27, 81%, 25%)
CMYKcmyk(0%, 45.3%, 81.2%, 74.9%)
CIE-LABlab(17.08, 11.51, 20.17)
CIE-LCHlch(17.08, 23.22, 60.29°)
OKLaboklab(28.94% 0.0312 0.0468)
OKLCHoklch(28.94% 0.056 56.3)
XYZxyz(2.7820, 2.3189, 0.6488)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40230C #0C2940
analogous
#400C0F #40230C #403D0C
triadic
#40230C #0C4023 #230C40
tetradic
#40230C #0F400C #0C2940 #3D0C40
square
#40230C #0F400C #0C2940 #3D0C40
split-complementary
#40230C #0C403D #0C0F40
monochromatic
#1A0E05 #1A0E05 #40230C #743F16 #A75B1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##40230C#FFFFFF#000000##FFFFFF
##40230C1.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)
#2C2609
Deuteranopia (green-blind)
#322D0C
Tritanopia (blue-blind)
#471D1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #40230c;
/* rgb */ color: rgb(64, 35, 12);
/* oklch */ color: oklch(28.9% 0.056 56.3);
Tailwind
colors: {
  custom: {
    50: '#785e4c',
    500: '#40230c',
    950: '#000000',
  },
}
SCSS
$custom: #40230c;
$custom-light: #785e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#40230c",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 12
  },
  "hsl": {
    "h": 26.538,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.28942,
    "c": 0.05622,
    "h": 56.3
  },
  "luminance": 0.02319
}

Semantic roles & 50–950 ramp

primary
#40230C
secondary
#2C597C
accent
#9EEB3D
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40230C

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

Preview Lab → · Contrast checker → · Palette generator →

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