#40250F#40250F

#40250F is a dark, muted orange. Relative luminance 0.024; OKLCH L 29.4% C 0.053 H 57.7°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#40250F
RGBrgb(64, 37, 15)
HSLhsl(27, 62%, 15%)
HSVhsv(27, 77%, 25%)
CMYKcmyk(0%, 42.2%, 76.6%, 74.9%)
CIE-LABlab(17.68, 10.38, 19.42)
CIE-LCHlch(17.68, 22.02, 61.87°)
OKLaboklab(29.42% 0.0284 0.0449)
OKLCHoklch(29.42% 0.053 57.7)
XYZxyz(2.8624, 2.4479, 0.7736)
Luminance0.0245 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#40250F #0F2A40
analogous
#400F11 #40250F #403D0F
triadic
#40250F #0F4025 #250F40
tetradic
#40250F #11400F #0F2A40 #3D0F40
square
#40250F #11400F #0F2A40 #3D0F40
split-complementary
#40250F #0F403D #0F1140
monochromatic
#190E06 #190E06 #40250F #72421B #A35E26

Accessibility & contrast

On white

14.10
#40250F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#40250F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #40250F
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##40250F#FFFFFF#000000##FFFFFF
##40250F1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280D
Deuteranopia (green-blind)
#332E0F
Tritanopia (blue-blind)
#461F20
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #40250f;
/* rgb */ color: rgb(64, 37, 15);
/* oklch */ color: oklch(29.4% 0.053 57.7);
Tailwind
colors: {
  custom: {
    50: '#785f4e',
    500: '#40250f',
    950: '#000000',
  },
}
SCSS
$custom: #40250f;
$custom-light: #785f4e;
$custom-dark: #000000;
JSON
{
  "hex": "#40250f",
  "rgb": {
    "r": 64,
    "g": 37,
    "b": 15
  },
  "hsl": {
    "h": 26.939,
    "s": 62.025,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2942,
    "c": 0.05317,
    "h": 57.7
  },
  "luminance": 0.02448
}

Semantic roles & 50–950 ramp

primary
#40250F
secondary
#30597A
accent
#9CE543
background
#F7F5F4
surface
#EDE9E7
border
#C8C5C3
text
#090401
muted
#7B7977

Preview Lab

Preview with #40250F

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

Preview Lab → · Contrast checker → · Palette generator →

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