#302807#302807

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

Color values

HEX#302807
RGBrgb(48, 40, 7)
HSLhsl(48, 75%, 11%)
HSVhsv(48, 85%, 19%)
CMYKcmyk(0%, 16.7%, 85.4%, 81.2%)
CIE-LABlab(16.31, -0.87, 20.80)
CIE-LCHlch(16.31, 20.82, 92.39°)
OKLaboklab(27.83% -0.0045 0.0494)
OKLCHoklch(27.83% 0.05 95.3)
XYZxyz(2.0162, 2.1614, 0.5120)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302807 #070F30
analogous
#301307 #302807 #233007
triadic
#302807 #073028 #280730
tetradic
#302807 #073013 #070F30 #300723
square
#302807 #073013 #070F30 #300723
split-complementary
#302807 #072330 #130730
monochromatic
#1B1604 #1B1604 #302807 #65550F #9B8117

Accessibility & contrast

On white

14.66
#302807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302807
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302807#FFFFFF#000000##FFFFFF
##3028071.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302807;
/* rgb */ color: rgb(48, 40, 7);
/* oklch */ color: oklch(27.8% 0.050 95.3);
Tailwind
colors: {
  custom: {
    50: '#6a614a',
    500: '#302807',
    950: '#000000',
  },
}
SCSS
$custom: #302807;
$custom-light: #6a614a;
$custom-dark: #000000;
JSON
{
  "hex": "#302807",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 7
  },
  "hsl": {
    "h": 48.293,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.27828,
    "c": 0.04959,
    "h": 95.3
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#302807
secondary
#233270
accent
#5BF137
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302807

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

Preview Lab → · Contrast checker → · Palette generator →

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