#302A01#302A01

#302A01 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.3% C 0.058 H 100.8°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#302A01
RGBrgb(48, 42, 1)
HSLhsl(52, 96%, 10%)
HSVhsv(52, 98%, 19%)
CMYKcmyk(0%, 12.5%, 97.9%, 81.2%)
CIE-LABlab(16.92, -2.68, 24.00)
CIE-LCHlch(16.92, 24.15, 96.37°)
OKLaboklab(28.29% -0.0108 0.0569)
OKLCHoklch(28.29% 0.058 100.8)
XYZxyz(2.0525, 2.2866, 0.3620)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A01 #010730
analogous
#301201 #302A01 #1F3001
triadic
#302A01 #01302A #2A0130
tetradic
#302A01 #013012 #010730 #30011F
square
#302A01 #013012 #010730 #30011F
split-complementary
#302A01 #011F30 #120130
monochromatic
#1E1A01 #1E1A01 #302A01 #6C5E02 #A89303

Accessibility & contrast

On white

14.41
#302A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#302A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A01
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A01#FFFFFF#000000##FFFFFF
##302A011.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#312B03
Tritanopia (blue-blind)
#352622
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302a01;
/* rgb */ color: rgb(48, 42, 1);
/* oklch */ color: oklch(28.3% 0.058 100.8);
Tailwind
colors: {
  custom: {
    50: '#6a6347',
    500: '#302a01',
    950: '#000000',
  },
}
SCSS
$custom: #302a01;
$custom-light: #6a6347;
$custom-dark: #000000;
JSON
{
  "hex": "#302a01",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 52.34,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28293,
    "c": 0.05787,
    "h": 100.8
  },
  "luminance": 0.02286
}

Semantic roles & 50–950 ramp

primary
#302A01
secondary
#172376
accent
#44FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#070500
muted
#7A7977

Preview Lab

Preview with #302A01

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

Preview Lab → · Contrast checker → · Palette generator →

#302A01 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva