#302801#302801

#302801 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.8% C 0.056 H 97.3°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#302801
RGBrgb(48, 40, 1)
HSLhsl(50, 96%, 10%)
HSVhsv(50, 98%, 19%)
CMYKcmyk(0%, 16.7%, 97.9%, 81.2%)
CIE-LABlab(16.25, -1.34, 23.16)
CIE-LCHlch(16.25, 23.20, 93.32°)
OKLaboklab(27.76% -0.0071 0.0557)
OKLCHoklch(27.76% 0.056 97.3)
XYZxyz(1.9833, 2.1483, 0.3389)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302801 #010930
analogous
#301101 #302801 #213001
triadic
#302801 #013028 #280130
tetradic
#302801 #013011 #010930 #300121
square
#302801 #013011 #010930 #300121
split-complementary
#302801 #012130 #110130
monochromatic
#1E1901 #1E1901 #302801 #6C5A02 #A88C03

Accessibility & contrast

On white

14.69
#302801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#302801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302801
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302801#FFFFFF#000000##FFFFFF
##3028011.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#302903
Tritanopia (blue-blind)
#352421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #302801;
/* rgb */ color: rgb(48, 40, 1);
/* oklch */ color: oklch(27.8% 0.056 97.3);
Tailwind
colors: {
  custom: {
    50: '#6a6147',
    500: '#302801',
    950: '#000000',
  },
}
SCSS
$custom: #302801;
$custom-light: #6a6147;
$custom-dark: #000000;
JSON
{
  "hex": "#302801",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 49.787,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27755,
    "c": 0.05612,
    "h": 97.3
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#302801
secondary
#172776
accent
#4DFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #302801

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

Preview Lab → · Contrast checker → · Palette generator →

#302801 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva