#302E1A#302E1A

#302E1A is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.7% C 0.033 H 103.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#302E1A
RGBrgb(48, 46, 26)
HSLhsl(55, 30%, 15%)
HSVhsv(55, 46%, 19%)
CMYKcmyk(0%, 4.2%, 45.8%, 81.2%)
CIE-LABlab(18.61, -2.87, 13.23)
CIE-LCHlch(18.61, 13.53, 102.25°)
OKLaboklab(29.74% -0.0077 0.0324)
OKLCHoklch(29.74% 0.033 103.3)
XYZxyz(2.3824, 2.6570, 1.3644)
Luminance0.0266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E1A #1A1C30
analogous
#30231A #302E1A #27301A
triadic
#302E1A #1A302E #2E1A30
tetradic
#302E1A #1A3023 #1A1C30 #301A27
square
#302E1A #1A3023 #1A1C30 #301A27
split-complementary
#302E1A #1A2730 #231A30
monochromatic
#14130B #14130B #302E1A #585430 #7F7A45

Accessibility & contrast

On white

13.71
#302E1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302E1A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E1A#FFFFFF#000000##FFFFFF
##302E1A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D19
Deuteranopia (green-blind)
#322E1B
Tritanopia (blue-blind)
#332B29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #302e1a;
/* rgb */ color: rgb(48, 46, 26);
/* oklch */ color: oklch(29.7% 0.033 103.3);
Tailwind
colors: {
  custom: {
    50: '#696656',
    500: '#302e1a',
    950: '#000000',
  },
}
SCSS
$custom: #302e1a;
$custom-light: #696656;
$custom-dark: #000000;
JSON
{
  "hex": "#302e1a",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 26
  },
  "hsl": {
    "h": 54.545,
    "s": 29.73,
    "l": 14.51
  },
  "oklch": {
    "l": 0.2974,
    "c": 0.03333,
    "h": 103.3
  },
  "luminance": 0.02657
}

Semantic roles & 50–950 ramp

primary
#302E1A
secondary
#424564
accent
#6BC662
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060603
muted
#7A7A78

Preview Lab

Preview with #302E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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