#30271F#30271F

#30271F is a dark, near-neutral orange. Relative luminance 0.022; OKLCH L 28.0% C 0.020 H 63.5°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#30271F
RGBrgb(48, 39, 31)
HSLhsl(28, 22%, 15%)
HSVhsv(28, 35%, 19%)
CMYKcmyk(0%, 18.7%, 35.4%, 81.2%)
CIE-LABlab(16.40, 2.68, 6.86)
CIE-LCHlch(16.40, 7.36, 68.69°)
OKLaboklab(28.03% 0.0087 0.0175)
OKLCHoklch(28.03% 0.02 63.5)
XYZxyz(2.1918, 2.1784, 1.6011)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30271F #1F2830
analogous
#301F1F #30271F #302F1F
triadic
#30271F #1F3027 #271F30
tetradic
#30271F #1F301F #1F2830 #2F1F30
square
#30271F #1F301F #1F2830 #2F1F30
split-complementary
#30271F #1F302F #1F1F30
monochromatic
#130F0C #130F0C #30271F #554537 #7A634F

Accessibility & contrast

On white

14.63
#30271F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#30271F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30271F
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30271F#FFFFFF#000000##FFFFFF
##30271F1.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A271E
Deuteranopia (green-blind)
#2C291F
Tritanopia (blue-blind)
#332525
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30271f;
/* rgb */ color: rgb(48, 39, 31);
/* oklch */ color: oklch(28.0% 0.020 63.5);
Tailwind
colors: {
  custom: {
    50: '#68615a',
    500: '#30271f',
    950: '#000000',
  },
}
SCSS
$custom: #30271f;
$custom-light: #68615a;
$custom-dark: #000000;
JSON
{
  "hex": "#30271f",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 31
  },
  "hsl": {
    "h": 28.235,
    "s": 21.519,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2803,
    "c": 0.01955,
    "h": 63.5
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#30271F
secondary
#495662
accent
#96BE6A
background
#F6F5F5
surface
#EBE9E9
border
#C6C5C5
text
#060503
muted
#7A7978

Preview Lab

Preview with #30271F

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

Preview Lab → · Contrast checker → · Palette generator →

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