#302B07#302B07

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

Color values

HEX#302B07
RGBrgb(48, 43, 7)
HSLhsl(53, 75%, 11%)
HSVhsv(53, 85%, 19%)
CMYKcmyk(0%, 10.4%, 85.4%, 81.2%)
CIE-LABlab(17.33, -2.88, 22.05)
CIE-LCHlch(17.33, 22.24, 97.44°)
OKLaboklab(28.63% -0.0103 0.0515)
OKLCHoklch(28.63% 0.053 101.3)
XYZxyz(2.1212, 2.3716, 0.5470)
Luminance0.0237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B07 #070C30
analogous
#301607 #302B07 #203007
triadic
#302B07 #07302B #2B0730
tetradic
#302B07 #073016 #070C30 #300720
square
#302B07 #073016 #070C30 #300720
split-complementary
#302B07 #072030 #160730
monochromatic
#1B1804 #1B1804 #302B07 #655B0F #9B8B17

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##302B07#FFFFFF#000000##FFFFFF
##302B071.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)
#302903
Deuteranopia (green-blind)
#312B09
Tritanopia (blue-blind)
#342724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302b07;
/* rgb */ color: rgb(48, 43, 7);
/* oklch */ color: oklch(28.6% 0.053 101.3);
Tailwind
colors: {
  custom: {
    50: '#6a644a',
    500: '#302b07',
    950: '#000000',
  },
}
SCSS
$custom: #302b07;
$custom-light: #6a644a;
$custom-dark: #000000;
JSON
{
  "hex": "#302b07",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 7
  },
  "hsl": {
    "h": 52.683,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.28633,
    "c": 0.05251,
    "h": 101.3
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#302B07
secondary
#232C70
accent
#4DF137
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302B07

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

Preview Lab → · Contrast checker → · Palette generator →

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