#302C0F#302C0F

#302C0F is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.0% C 0.045 H 101.5°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#302C0F
RGBrgb(48, 44, 15)
HSLhsl(53, 52%, 12%)
HSVhsv(53, 69%, 19%)
CMYKcmyk(0%, 8.3%, 68.7%, 81.2%)
CIE-LABlab(17.76, -2.88, 19.01)
CIE-LCHlch(17.76, 19.23, 98.61°)
OKLaboklab(29% -0.0091 0.0445)
OKLCHoklch(29% 0.045 101.5)
XYZxyz(2.2059, 2.4643, 0.8113)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C0F #0F1330
analogous
#301B0F #302C0F #24300F
triadic
#302C0F #0F302C #2C0F30
tetradic
#302C0F #0F301B #0F1330 #300F24
square
#302C0F #0F301B #0F1330 #300F24
split-complementary
#302C0F #0F2430 #1B0F30
monochromatic
#171507 #171507 #302C0F #5F571E #8D812C

Accessibility & contrast

On white

14.07
#302C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#302C0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C0F
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C0F#FFFFFF#000000##FFFFFF
##302C0F1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B0C
Deuteranopia (green-blind)
#322C10
Tritanopia (blue-blind)
#342926
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302c0f;
/* rgb */ color: rgb(48, 44, 15);
/* oklch */ color: oklch(29.0% 0.045 101.5);
Tailwind
colors: {
  custom: {
    50: '#69644e',
    500: '#302c0f',
    950: '#000000',
  },
}
SCSS
$custom: #302c0f;
$custom-light: #69644e;
$custom-dark: #000000;
JSON
{
  "hex": "#302c0f",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 52.727,
    "s": 52.381,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29001,
    "c": 0.04538,
    "h": 101.5
  },
  "luminance": 0.02464
}

Semantic roles & 50–950 ramp

primary
#302C0F
secondary
#31386A
accent
#5DDC4C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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