#301F02#301F02

#301F02 is a dark, muted orange. Relative luminance 0.016; OKLCH L 25.4% C 0.050 H 77.4°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#301F02
RGBrgb(48, 31, 2)
HSLhsl(38, 92%, 10%)
HSVhsv(38, 96%, 19%)
CMYKcmyk(0%, 35.4%, 95.8%, 81.2%)
CIE-LABlab(13.31, 4.94, 18.97)
CIE-LCHlch(13.31, 19.60, 75.40°)
OKLaboklab(25.45% 0.011 0.0492)
OKLCHoklch(25.45% 0.05 77.4)
XYZxyz(1.7200, 1.6129, 0.2782)
Luminance0.0161 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301F02 #021330
analogous
#300802 #301F02 #2A3002
triadic
#301F02 #02301F #1F0230
tetradic
#301F02 #023008 #021330 #30022A
square
#301F02 #023008 #021330 #30022A
split-complementary
#301F02 #022A30 #080230
monochromatic
#1D1301 #1D1301 #301F02 #6B4504 #A66B07

Accessibility & contrast

On white

15.88
#301F02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#301F02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301F02
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301F02#FFFFFF#000000##FFFFFF
##301F021.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252000
Deuteranopia (green-blind)
#292403
Tritanopia (blue-blind)
#351A19
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #301f02;
/* rgb */ color: rgb(48, 31, 2);
/* oklch */ color: oklch(25.4% 0.050 77.4);
Tailwind
colors: {
  custom: {
    50: '#6a5a47',
    500: '#301f02',
    950: '#000000',
  },
}
SCSS
$custom: #301f02;
$custom-light: #6a5a47;
$custom-dark: #000000;
JSON
{
  "hex": "#301f02",
  "rgb": {
    "r": 48,
    "g": 31,
    "b": 2
  },
  "hsl": {
    "h": 37.826,
    "s": 92,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25447,
    "c": 0.05042,
    "h": 77.4
  },
  "luminance": 0.01613
}

Semantic roles & 50–950 ramp

primary
#301F02
secondary
#193B75
accent
#78FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070300
muted
#7A7877

Preview Lab

Preview with #301F02

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

Preview Lab → · Contrast checker → · Palette generator →

#301F02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva