#302C03#302C03

#302C03 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.9% C 0.058 H 103.7°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#302C03
RGBrgb(48, 44, 3)
HSLhsl(55, 88%, 10%)
HSVhsv(55, 94%, 19%)
CMYKcmyk(0%, 8.3%, 93.8%, 81.2%)
CIE-LABlab(17.63, -3.85, 24.04)
CIE-LCHlch(17.63, 24.35, 99.09°)
OKLaboklab(28.86% -0.0137 0.0561)
OKLCHoklch(28.86% 0.058 103.7)
XYZxyz(2.1361, 2.4364, 0.4439)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C03 #030730
analogous
#301603 #302C03 #1D3003
triadic
#302C03 #03302C #2C0330
tetradic
#302C03 #033016 #030730 #30031D
square
#302C03 #033016 #030730 #30031D
split-complementary
#302C03 #031D30 #160330
monochromatic
#1D1A02 #1D1A02 #302C03 #6A6107 #A3960A

Accessibility & contrast

On white

14.12
#302C03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#302C03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C03
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C03#FFFFFF#000000##FFFFFF
##302C031.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#322C05
Tritanopia (blue-blind)
#352824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302c03;
/* rgb */ color: rgb(48, 44, 3);
/* oklch */ color: oklch(28.9% 0.058 103.7);
Tailwind
colors: {
  custom: {
    50: '#6a6448',
    500: '#302c03',
    950: '#000000',
  },
}
SCSS
$custom: #302c03;
$custom-light: #6a6448;
$custom-dark: #000000;
JSON
{
  "hex": "#302c03",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 3
  },
  "hsl": {
    "h": 54.667,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.28859,
    "c": 0.0577,
    "h": 103.7
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#302C03
secondary
#1B2373
accent
#3CFE29
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#070500
muted
#7A7A77

Preview Lab

Preview with #302C03

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

Preview Lab → · Contrast checker → · Palette generator →

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