#302E1C#302E1C

#302E1C is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.8% C 0.030 H 102.6°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#302E1C
RGBrgb(48, 46, 28)
HSLhsl(54, 26%, 15%)
HSVhsv(54, 42%, 19%)
CMYKcmyk(0%, 4.2%, 41.7%, 81.2%)
CIE-LABlab(18.65, -2.57, 11.95)
CIE-LCHlch(18.65, 12.22, 102.15°)
OKLaboklab(29.79% -0.0066 0.0296)
OKLCHoklch(29.79% 0.03 102.6)
XYZxyz(2.4055, 2.6663, 1.4863)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E1C #1C1E30
analogous
#30241C #302E1C #28301C
triadic
#302E1C #1C302E #2E1C30
tetradic
#302E1C #1C3024 #1C1E30 #301C28
square
#302E1C #1C3024 #1C1E30 #301C28
split-complementary
#302E1C #1C2830 #241C30
monochromatic
#13130B #13130B #302E1C #575333 #7D7849

Accessibility & contrast

On white

13.70
#302E1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#302E1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E1C
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E1C#FFFFFF#000000##FFFFFF
##302E1C1.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1B
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#332C29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302e1c;
/* rgb */ color: rgb(48, 46, 28);
/* oklch */ color: oklch(29.8% 0.030 102.6);
Tailwind
colors: {
  custom: {
    50: '#686658',
    500: '#302e1c',
    950: '#000000',
  },
}
SCSS
$custom: #302e1c;
$custom-light: #686658;
$custom-dark: #000000;
JSON
{
  "hex": "#302e1c",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 28
  },
  "hsl": {
    "h": 54,
    "s": 26.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.29785,
    "c": 0.03033,
    "h": 102.6
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#302E1C
secondary
#444863
accent
#6EC365
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #302E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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