#302D0F#302D0F

#302D0F is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.3% C 0.047 H 103.6°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#302D0F
RGBrgb(48, 45, 15)
HSLhsl(55, 52%, 12%)
HSVhsv(55, 69%, 19%)
CMYKcmyk(0%, 6.2%, 68.7%, 81.2%)
CIE-LABlab(18.10, -3.54, 19.42)
CIE-LCHlch(18.10, 19.74, 100.33°)
OKLaboklab(29.27% -0.011 0.0453)
OKLCHoklch(29.27% 0.047 103.6)
XYZxyz(2.2436, 2.5397, 0.8239)
Luminance0.0254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D0F #0F1230
analogous
#301C0F #302D0F #23300F
triadic
#302D0F #0F302D #2D0F30
tetradic
#302D0F #0F301C #0F1230 #300F23
square
#302D0F #0F301C #0F1230 #300F23
split-complementary
#302D0F #0F2330 #1C0F30
monochromatic
#171607 #171607 #302D0F #5F591E #8D842C

Accessibility & contrast

On white

13.93
#302D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302D0F
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D0F#FFFFFF#000000##FFFFFF
##302D0F1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#322D11
Tritanopia (blue-blind)
#342A26
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d0f;
/* rgb */ color: rgb(48, 45, 15);
/* oklch */ color: oklch(29.3% 0.047 103.6);
Tailwind
colors: {
  custom: {
    50: '#69654e',
    500: '#302d0f',
    950: '#000000',
  },
}
SCSS
$custom: #302d0f;
$custom-light: #69654e;
$custom-dark: #000000;
JSON
{
  "hex": "#302d0f",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 54.545,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29272,
    "c": 0.0466,
    "h": 103.6
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#302D0F
secondary
#31366A
accent
#59DC4C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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