#302706#302706

#302706 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.050 H 93.5°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#302706
RGBrgb(48, 39, 6)
HSLhsl(47, 78%, 11%)
HSVhsv(47, 88%, 19%)
CMYKcmyk(0%, 18.7%, 87.5%, 81.2%)
CIE-LABlab(15.97, -0.27, 20.78)
CIE-LCHlch(15.97, 20.78, 90.74°)
OKLaboklab(27.55% -0.003 0.0497)
OKLCHoklch(27.55% 0.05 93.5)
XYZxyz(1.9774, 2.0927, 0.4720)
Luminance0.0209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302706 #060F30
analogous
#301206 #302706 #243006
triadic
#302706 #063027 #270630
tetradic
#302706 #063012 #060F30 #300624
square
#302706 #063012 #060F30 #300624
split-complementary
#302706 #062430 #120630
monochromatic
#1B1603 #1B1603 #302706 #66530D #9D7F14

Accessibility & contrast

On white

14.80
#302706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#302706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302706
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302706#FFFFFF#000000##FFFFFF
##3027061.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302706;
/* rgb */ color: rgb(48, 39, 6);
/* oklch */ color: oklch(27.6% 0.050 93.5);
Tailwind
colors: {
  custom: {
    50: '#6a6049',
    500: '#302706',
    950: '#000000',
  },
}
SCSS
$custom: #302706;
$custom-light: #6a6049;
$custom-dark: #000000;
JSON
{
  "hex": "#302706",
  "rgb": {
    "r": 48,
    "g": 39,
    "b": 6
  },
  "hsl": {
    "h": 47.143,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27551,
    "c": 0.04979,
    "h": 93.5
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#302706
secondary
#213271
accent
#5DF434
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#070501
muted
#7A7977

Preview Lab

Preview with #302706

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

Preview Lab → · Contrast checker → · Palette generator →

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