#302B08#302B08

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

Color values

HEX#302B08
RGBrgb(48, 43, 8)
HSLhsl(53, 71%, 11%)
HSVhsv(53, 83%, 19%)
CMYKcmyk(0%, 10.4%, 83.3%, 81.2%)
CIE-LABlab(17.34, -2.80, 21.66)
CIE-LCHlch(17.34, 21.84, 97.38°)
OKLaboklab(28.64% -0.0099 0.0506)
OKLCHoklch(28.64% 0.052 101.1)
XYZxyz(2.1267, 2.3738, 0.5758)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B08 #080D30
analogous
#301708 #302B08 #213008
triadic
#302B08 #08302B #2B0830
tetradic
#302B08 #083017 #080D30 #300821
square
#302B08 #083017 #080D30 #300821
split-complementary
#302B08 #082130 #170830
monochromatic
#1A1704 #1A1704 #302B08 #645A11 #998919

Accessibility & contrast

On white

14.24
#302B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302B08
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B08#FFFFFF#000000##FFFFFF
##302B081.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302b08;
/* rgb */ color: rgb(48, 43, 8);
/* oklch */ color: oklch(28.6% 0.052 101.1);
Tailwind
colors: {
  custom: {
    50: '#6a644b',
    500: '#302b08',
    950: '#000000',
  },
}
SCSS
$custom: #302b08;
$custom-light: #6a644b;
$custom-dark: #000000;
JSON
{
  "hex": "#302b08",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 8
  },
  "hsl": {
    "h": 52.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28644,
    "c": 0.05152,
    "h": 101.1
  },
  "luminance": 0.02374
}

Semantic roles & 50–950 ramp

primary
#302B08
secondary
#252E6F
accent
#50EE3A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302B08

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

Preview Lab → · Contrast checker → · Palette generator →

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