#302E1E#302E1E

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

Color values

HEX#302E1E
RGBrgb(48, 46, 30)
HSLhsl(53, 23%, 15%)
HSVhsv(53, 38%, 19%)
CMYKcmyk(0%, 4.2%, 37.5%, 81.2%)
CIE-LABlab(18.70, -2.26, 10.67)
CIE-LCHlch(18.70, 10.90, 101.94°)
OKLaboklab(29.83% -0.0056 0.0267)
OKLCHoklch(29.83% 0.027 101.8)
XYZxyz(2.4303, 2.6762, 1.6166)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E1E #1E2030
analogous
#30251E #302E1E #29301E
triadic
#302E1E #1E302E #2E1E30
tetradic
#302E1E #1E3025 #1E2030 #301E29
square
#302E1E #1E3025 #1E2030 #301E29
split-complementary
#302E1E #1E2930 #251E30
monochromatic
#13120C #13120C #302E1E #565236 #7B764D

Accessibility & contrast

On white

13.68
#302E1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#302E1E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E1E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E1E#FFFFFF#000000##FFFFFF
##302E1E1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1D
Deuteranopia (green-blind)
#322E1F
Tritanopia (blue-blind)
#332C2A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302e1e;
/* rgb */ color: rgb(48, 46, 30);
/* oklch */ color: oklch(29.8% 0.027 101.8);
Tailwind
colors: {
  custom: {
    50: '#686659',
    500: '#302e1e',
    950: '#000000',
  },
}
SCSS
$custom: #302e1e;
$custom-light: #686659;
$custom-dark: #000000;
JSON
{
  "hex": "#302e1e",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 30
  },
  "hsl": {
    "h": 53.333,
    "s": 23.077,
    "l": 15.294
  },
  "oklch": {
    "l": 0.29833,
    "c": 0.02723,
    "h": 101.8
  },
  "luminance": 0.02676
}

Semantic roles & 50–950 ramp

primary
#302E1E
secondary
#474A63
accent
#72C068
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #302E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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