#302806#302806

#302806 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.051 H 95.6°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#302806
RGBrgb(48, 40, 6)
HSLhsl(49, 78%, 11%)
HSVhsv(49, 88%, 19%)
CMYKcmyk(0%, 16.7%, 87.5%, 81.2%)
CIE-LABlab(16.30, -0.95, 21.20)
CIE-LCHlch(16.30, 21.22, 92.56°)
OKLaboklab(27.82% -0.005 0.0504)
OKLCHoklch(27.82% 0.051 95.6)
XYZxyz(2.0107, 2.1592, 0.4831)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302806 #060E30
analogous
#301306 #302806 #233006
triadic
#302806 #063028 #280630
tetradic
#302806 #063013 #060E30 #300623
square
#302806 #063013 #060E30 #300623
split-complementary
#302806 #062330 #130630
monochromatic
#1B1703 #1B1703 #302806 #66550D #9D8314

Accessibility & contrast

On white

14.67
#302806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#302806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302806
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302806#FFFFFF#000000##FFFFFF
##3028061.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#2F2908
Tritanopia (blue-blind)
#352421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #302806;
/* rgb */ color: rgb(48, 40, 6);
/* oklch */ color: oklch(27.8% 0.051 95.6);
Tailwind
colors: {
  custom: {
    50: '#6a6149',
    500: '#302806',
    950: '#000000',
  },
}
SCSS
$custom: #302806;
$custom-light: #6a6149;
$custom-dark: #000000;
JSON
{
  "hex": "#302806",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 6
  },
  "hsl": {
    "h": 48.571,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27816,
    "c": 0.05063,
    "h": 95.6
  },
  "luminance": 0.02159
}

Semantic roles & 50–950 ramp

primary
#302806
secondary
#213071
accent
#58F434
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #302806

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

Preview Lab → · Contrast checker → · Palette generator →

#302806 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva