#302A0E#302A0E

#302A0E is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.4% C 0.044 H 97.3°. Best body text is #FFFFFF at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#302A0E
RGBrgb(48, 42, 14)
HSLhsl(49, 55%, 12%)
HSVhsv(49, 71%, 19%)
CMYKcmyk(0%, 12.5%, 70.8%, 81.2%)
CIE-LABlab(17.07, -1.64, 18.69)
CIE-LCHlch(17.07, 18.76, 95.02°)
OKLaboklab(28.45% -0.0057 0.0439)
OKLCHoklch(28.45% 0.044 97.3)
XYZxyz(2.1262, 2.3161, 0.7504)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A0E #0E1430
analogous
#30190E #302A0E #25300E
triadic
#302A0E #0E302A #2A0E30
tetradic
#302A0E #0E3019 #0E1430 #300E25
square
#302A0E #0E3019 #0E1430 #300E25
split-complementary
#302A0E #0E2530 #190E30
monochromatic
#181507 #181507 #302A0E #5F531C #8F7D2A

Accessibility & contrast

On white

14.35
#302A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#302A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A0E
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A0E#FFFFFF#000000##FFFFFF
##302A0E1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290B
Deuteranopia (green-blind)
#302B0F
Tritanopia (blue-blind)
#342724
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302a0e;
/* rgb */ color: rgb(48, 42, 14);
/* oklch */ color: oklch(28.4% 0.044 97.3);
Tailwind
colors: {
  custom: {
    50: '#69634e',
    500: '#302a0e',
    950: '#000000',
  },
}
SCSS
$custom: #302a0e;
$custom-light: #69634e;
$custom-dark: #000000;
JSON
{
  "hex": "#302a0e",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 14
  },
  "hsl": {
    "h": 49.412,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.2845,
    "c": 0.04427,
    "h": 97.3
  },
  "luminance": 0.02316
}

Semantic roles & 50–950 ramp

primary
#302A0E
secondary
#2F3A6A
accent
#64DE4A
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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