#302D13#302D13

#302D13 is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.3% C 0.042 H 102.7°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#302D13
RGBrgb(48, 45, 19)
HSLhsl(54, 43%, 13%)
HSVhsv(54, 60%, 19%)
CMYKcmyk(0%, 6.2%, 60.4%, 81.2%)
CIE-LABlab(18.15, -3.12, 17.16)
CIE-LCHlch(18.15, 17.44, 100.30°)
OKLaboklab(29.34% -0.0092 0.0407)
OKLCHoklch(29.34% 0.042 102.7)
XYZxyz(2.2749, 2.5522, 0.9888)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D13 #131630
analogous
#301E13 #302D13 #243013
triadic
#302D13 #13302D #2D1330
tetradic
#302D13 #13301E #131630 #301324
square
#302D13 #13301E #131630 #301324
split-complementary
#302D13 #132430 #1E1330
monochromatic
#161509 #161509 #302D13 #5C5624 #887F36

Accessibility & contrast

On white

13.90
#302D13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#302D13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D13
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D13#FFFFFF#000000##FFFFFF
##302D131.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B11
Deuteranopia (green-blind)
#322D14
Tritanopia (blue-blind)
#342A27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d13;
/* rgb */ color: rgb(48, 45, 19);
/* oklch */ color: oklch(29.3% 0.042 102.7);
Tailwind
colors: {
  custom: {
    50: '#696551',
    500: '#302d13',
    950: '#000000',
  },
}
SCSS
$custom: #302d13;
$custom-light: #696551;
$custom-dark: #000000;
JSON
{
  "hex": "#302d13",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 19
  },
  "hsl": {
    "h": 53.793,
    "s": 43.284,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29335,
    "c": 0.04171,
    "h": 102.7
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#302D13
secondary
#373C67
accent
#62D355
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #302D13

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

Preview Lab → · Contrast checker → · Palette generator →

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