#302B06#302B06

#302B06 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.054 H 101.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#302B06
RGBrgb(48, 43, 6)
HSLhsl(53, 78%, 11%)
HSVhsv(53, 88%, 19%)
CMYKcmyk(0%, 10.4%, 87.5%, 81.2%)
CIE-LABlab(17.32, -2.96, 22.45)
CIE-LCHlch(17.32, 22.64, 97.50°)
OKLaboklab(28.62% -0.0106 0.0525)
OKLCHoklch(28.62% 0.054 101.5)
XYZxyz(2.1158, 2.3694, 0.5182)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B06 #060B30
analogous
#301606 #302B06 #203006
triadic
#302B06 #06302B #2B0630
tetradic
#302B06 #063016 #060B30 #300620
square
#302B06 #063016 #060B30 #300620
split-complementary
#302B06 #062030 #160630
monochromatic
#1B1803 #1B1803 #302B06 #665C0D #9D8C14

Accessibility & contrast

On white

14.25
#302B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#302B06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B06
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B06#FFFFFF#000000##FFFFFF
##302B061.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302902
Deuteranopia (green-blind)
#312B08
Tritanopia (blue-blind)
#342724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302b06;
/* rgb */ color: rgb(48, 43, 6);
/* oklch */ color: oklch(28.6% 0.054 101.5);
Tailwind
colors: {
  custom: {
    50: '#6a644a',
    500: '#302b06',
    950: '#000000',
  },
}
SCSS
$custom: #302b06;
$custom-light: #6a644a;
$custom-dark: #000000;
JSON
{
  "hex": "#302b06",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 6
  },
  "hsl": {
    "h": 52.857,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28621,
    "c": 0.05353,
    "h": 101.5
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#302B06
secondary
#212B71
accent
#4AF434
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302B06

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

Preview Lab → · Contrast checker → · Palette generator →

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