#302D06#302D06

#302D06 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.056 H 104.9°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#302D06
RGBrgb(48, 45, 6)
HSLhsl(56, 78%, 11%)
HSVhsv(56, 88%, 19%)
CMYKcmyk(0%, 6.2%, 87.5%, 81.2%)
CIE-LABlab(18.00, -4.27, 23.27)
CIE-LCHlch(18.00, 23.66, 100.41°)
OKLaboklab(29.17% -0.0144 0.0538)
OKLCHoklch(29.17% 0.056 104.9)
XYZxyz(2.1903, 2.5184, 0.5430)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D06 #060930
analogous
#301806 #302D06 #1E3006
triadic
#302D06 #06302D #2D0630
tetradic
#302D06 #063018 #060930 #30061E
square
#302D06 #063018 #060930 #30061E
split-complementary
#302D06 #061E30 #180630
monochromatic
#1B1903 #1B1903 #302D06 #66600D #9D9314

Accessibility & contrast

On white

13.97
#302D06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#302D06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D06
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D06#FFFFFF#000000##FFFFFF
##302D061.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B02
Deuteranopia (green-blind)
#332D08
Tritanopia (blue-blind)
#342925
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d06;
/* rgb */ color: rgb(48, 45, 6);
/* oklch */ color: oklch(29.2% 0.056 104.9);
Tailwind
colors: {
  custom: {
    50: '#6a654a',
    500: '#302d06',
    950: '#000000',
  },
}
SCSS
$custom: #302d06;
$custom-light: #6a654a;
$custom-dark: #000000;
JSON
{
  "hex": "#302d06",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 6
  },
  "hsl": {
    "h": 55.714,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.29165,
    "c": 0.05572,
    "h": 104.9
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#302D06
secondary
#212771
accent
#41F434
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#070501
muted
#7A7A77

Preview Lab

Preview with #302D06

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

Preview Lab → · Contrast checker → · Palette generator →

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