#302C06#302C06

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

Color values

HEX#302C06
RGBrgb(48, 44, 6)
HSLhsl(54, 78%, 11%)
HSVhsv(54, 88%, 19%)
CMYKcmyk(0%, 8.3%, 87.5%, 81.2%)
CIE-LABlab(17.66, -3.62, 22.86)
CIE-LCHlch(17.66, 23.14, 98.99°)
OKLaboklab(28.89% -0.0125 0.0532)
OKLCHoklch(28.89% 0.055 103.2)
XYZxyz(2.1526, 2.4430, 0.5304)
Luminance0.0244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C06 #060A30
analogous
#301706 #302C06 #1F3006
triadic
#302C06 #06302C #2C0630
tetradic
#302C06 #063017 #060A30 #30061F
square
#302C06 #063017 #060A30 #30061F
split-complementary
#302C06 #061F30 #170630
monochromatic
#1B1903 #1B1903 #302C06 #665E0D #9D9014

Accessibility & contrast

On white

14.11
#302C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302C06
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C06#FFFFFF#000000##FFFFFF
##302C061.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A02
Deuteranopia (green-blind)
#322C08
Tritanopia (blue-blind)
#342825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302c06;
/* rgb */ color: rgb(48, 44, 6);
/* oklch */ color: oklch(28.9% 0.055 103.2);
Tailwind
colors: {
  custom: {
    50: '#6a644a',
    500: '#302c06',
    950: '#000000',
  },
}
SCSS
$custom: #302c06;
$custom-light: #6a644a;
$custom-dark: #000000;
JSON
{
  "hex": "#302c06",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 6
  },
  "hsl": {
    "h": 54.286,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28893,
    "c": 0.0546,
    "h": 103.2
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#302C06
secondary
#212971
accent
#46F434
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #302C06

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

Preview Lab → · Contrast checker → · Palette generator →

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