#302A10#302A10

#302A10 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.5% C 0.042 H 96.6°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#302A10
RGBrgb(48, 42, 16)
HSLhsl(49, 50%, 13%)
HSVhsv(49, 67%, 19%)
CMYKcmyk(0%, 12.5%, 66.7%, 81.2%)
CIE-LABlab(17.09, -1.44, 17.66)
CIE-LCHlch(17.09, 17.72, 94.67°)
OKLaboklab(28.48% -0.0048 0.0417)
OKLCHoklch(28.48% 0.042 96.6)
XYZxyz(2.1405, 2.3218, 0.8255)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A10 #101630
analogous
#301A10 #302A10 #263010
triadic
#302A10 #10302A #2A1030
tetradic
#302A10 #10301A #101630 #301026
square
#302A10 #10301A #101630 #301026
split-complementary
#302A10 #102630 #1A1030
monochromatic
#171408 #171408 #302A10 #5E521F #8C7A2F

Accessibility & contrast

On white

14.34
#302A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302A10
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A10#FFFFFF#000000##FFFFFF
##302A101.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #302a10;
/* rgb */ color: rgb(48, 42, 16);
/* oklch */ color: oklch(28.5% 0.042 96.6);
Tailwind
colors: {
  custom: {
    50: '#69634f',
    500: '#302a10',
    950: '#000000',
  },
}
SCSS
$custom: #302a10;
$custom-light: #69634f;
$custom-dark: #000000;
JSON
{
  "hex": "#302a10",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 16
  },
  "hsl": {
    "h": 48.75,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2848,
    "c": 0.04192,
    "h": 96.6
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#302A10
secondary
#333D69
accent
#68DA4E
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #302A10

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

Preview Lab → · Contrast checker → · Palette generator →

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