#40230F#40230F

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

Color values

HEX#40230F
RGBrgb(64, 35, 15)
HSLhsl(24, 62%, 15%)
HSVhsv(24, 77%, 25%)
CMYKcmyk(0%, 45.3%, 76.6%, 74.9%)
CIE-LABlab(17.12, 11.71, 18.73)
CIE-LCHlch(17.12, 22.09, 57.99°)
OKLaboklab(28.98% 0.0324 0.0436)
OKLCHoklch(28.98% 0.054 53.4)
XYZxyz(2.8018, 2.3268, 0.7534)
Luminance0.0233 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40230F #0F2C40
analogous
#400F13 #40230F #403B0F
triadic
#40230F #0F4023 #230F40
tetradic
#40230F #13400F #0F2C40 #3B0F40
square
#40230F #13400F #0F2C40 #3B0F40
split-complementary
#40230F #0F403B #0F1340
monochromatic
#190E06 #190E06 #40230F #723E1B #A35926

Accessibility & contrast

On white

14.33
#40230F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#40230F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40230F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40230F#FFFFFF#000000##FFFFFF
##40230F1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #40230f;
/* rgb */ color: rgb(64, 35, 15);
/* oklch */ color: oklch(29.0% 0.054 53.4);
Tailwind
colors: {
  custom: {
    50: '#785e4e',
    500: '#40230f',
    950: '#000000',
  },
}
SCSS
$custom: #40230f;
$custom-light: #785e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40230f",
  "rgb": {
    "r": 64,
    "g": 35,
    "b": 15
  },
  "hsl": {
    "h": 24.49,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.28984,
    "c": 0.0543,
    "h": 53.4
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#40230F
secondary
#305C7A
accent
#A3E543
background
#F7F5F4
surface
#EEE9E7
border
#C9C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40230F

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

Preview Lab → · Contrast checker → · Palette generator →

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