#302E0E#302E0E

#302E0E is a dark, muted yellow. Relative luminance 0.026; OKLCH L 29.5% C 0.049 H 105.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#302E0E
RGBrgb(48, 46, 14)
HSLhsl(56, 55%, 12%)
HSVhsv(56, 71%, 19%)
CMYKcmyk(0%, 4.2%, 70.8%, 81.2%)
CIE-LABlab(18.43, -4.29, 20.33)
CIE-LCHlch(18.43, 20.77, 101.92°)
OKLaboklab(29.53% -0.0132 0.0472)
OKLCHoklch(29.53% 0.049 105.7)
XYZxyz(2.2753, 2.6141, 0.8001)
Luminance0.0261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E0E #0E1030
analogous
#301D0E #302E0E #21300E
triadic
#302E0E #0E302E #2E0E30
tetradic
#302E0E #0E301D #0E1030 #300E21
square
#302E0E #0E301D #0E1030 #300E21
split-complementary
#302E0E #0E2130 #1D0E30
monochromatic
#181707 #181707 #302E0E #5F5B1C #8F892A

Accessibility & contrast

On white

13.79
#302E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#302E0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E0E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E0E#FFFFFF#000000##FFFFFF
##302E0E1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C0B
Deuteranopia (green-blind)
#332E10
Tritanopia (blue-blind)
#342B27
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302e0e;
/* rgb */ color: rgb(48, 46, 14);
/* oklch */ color: oklch(29.5% 0.049 105.7);
Tailwind
colors: {
  custom: {
    50: '#69664e',
    500: '#302e0e',
    950: '#000000',
  },
}
SCSS
$custom: #302e0e;
$custom-light: #69664e;
$custom-dark: #000000;
JSON
{
  "hex": "#302e0e",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 14
  },
  "hsl": {
    "h": 56.471,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2953,
    "c": 0.049,
    "h": 105.7
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#302E0E
secondary
#2F336A
accent
#52DE4A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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