#2A170B#2A170B

#2A170B is a very dark, muted orange. Relative luminance 0.011; OKLCH L 22.7% C 0.037 H 52.1°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#2A170B
RGBrgb(42, 23, 11)
HSLhsl(23, 58%, 10%)
HSVhsv(23, 74%, 16%)
CMYKcmyk(0%, 45.2%, 73.8%, 83.5%)
CIE-LABlab(10.03, 8.06, 10.64)
CIE-LCHlch(10.03, 13.34, 52.85°)
OKLaboklab(22.74% 0.0229 0.0295)
OKLCHoklch(22.74% 0.037 52.1)
XYZxyz(1.3217, 1.1293, 0.4649)
Luminance0.0113 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A170B #0B1E2A
analogous
#2A0B0E #2A170B #2A260B
triadic
#2A170B #0B2A17 #170B2A
tetradic
#2A170B #0E2A0B #0B1E2A #260B2A
square
#2A170B #0E2A0B #0B1E2A #260B2A
split-complementary
#2A170B #0B2A26 #0B0E2A
monochromatic
#180D06 #180D06 #2A170B #5A3218 #8B4C24

Accessibility & contrast

On white

17.13
#2A170B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#2A170B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A170B
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A170B#FFFFFF#000000##FFFFFF
##2A170B1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190A
Deuteranopia (green-blind)
#211D0B
Tritanopia (blue-blind)
#2E1314
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #2a170b;
/* rgb */ color: rgb(42, 23, 11);
/* oklch */ color: oklch(22.7% 0.037 52.1);
Tailwind
colors: {
  custom: {
    50: '#65544b',
    500: '#2a170b',
    950: '#000000',
  },
}
SCSS
$custom: #2a170b;
$custom-light: #65544b;
$custom-dark: #000000;
JSON
{
  "hex": "#2a170b",
  "rgb": {
    "r": 42,
    "g": 23,
    "b": 11
  },
  "hsl": {
    "h": 23.226,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22736,
    "c": 0.03731,
    "h": 52.1
  },
  "luminance": 0.01129
}

Semantic roles & 50–950 ramp

primary
#2A170B
secondary
#2B4F66
accent
#A5E246
background
#F6F4F4
surface
#EBE7E7
border
#C6C3C3
text
#060201
muted
#7A7877

Preview Lab

Preview with #2A170B

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

Preview Lab → · Contrast checker → · Palette generator →

#2A170B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva