#40230E#40230E

#40230E is a dark, muted orange. Relative luminance 0.023; OKLCH L 29.0% C 0.055 H 54.4°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#40230E
RGBrgb(64, 35, 14)
HSLhsl(25, 64%, 15%)
HSVhsv(25, 78%, 25%)
CMYKcmyk(0%, 45.3%, 78.1%, 74.9%)
CIE-LABlab(17.10, 11.64, 19.24)
CIE-LCHlch(17.10, 22.48, 58.82°)
OKLaboklab(28.97% 0.032 0.0447)
OKLCHoklch(28.97% 0.055 54.4)
XYZxyz(2.7949, 2.3240, 0.7168)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40230E #0E2B40
analogous
#400E12 #40230E #403C0E
triadic
#40230E #0E4023 #230E40
tetradic
#40230E #12400E #0E2B40 #3C0E40
square
#40230E #12400E #0E2B40 #3C0E40
split-complementary
#40230E #0E403C #0E1240
monochromatic
#190E05 #190E05 #40230E #723E19 #A45A24

Accessibility & contrast

On white

14.34
#40230E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #40230E
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40230E#FFFFFF#000000##FFFFFF
##40230E1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B260C
Deuteranopia (green-blind)
#322D0E
Tritanopia (blue-blind)
#471D1E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #40230e;
/* rgb */ color: rgb(64, 35, 14);
/* oklch */ color: oklch(29.0% 0.055 54.4);
Tailwind
colors: {
  custom: {
    50: '#785e4d',
    500: '#40230e',
    950: '#000000',
  },
}
SCSS
$custom: #40230e;
$custom-light: #785e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#40230e",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 14
  },
  "hsl": {
    "h": 25.2,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.28969,
    "c": 0.05495,
    "h": 54.4
  },
  "luminance": 0.02324
}

Semantic roles & 50–950 ramp

primary
#40230E
secondary
#2F5B7B
accent
#A1E741
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40230E

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

Preview Lab → · Contrast checker → · Palette generator →

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