#302B10#302B10

#302B10 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.043 H 99.0°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#302B10
RGBrgb(48, 43, 16)
HSLhsl(51, 50%, 13%)
HSVhsv(51, 67%, 19%)
CMYKcmyk(0%, 10.4%, 66.7%, 81.2%)
CIE-LABlab(17.43, -2.11, 18.07)
CIE-LCHlch(17.43, 18.20, 96.67°)
OKLaboklab(28.75% -0.0067 0.0425)
OKLCHoklch(28.75% 0.043 99)
XYZxyz(2.1764, 2.3936, 0.8375)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B10 #101530
analogous
#301B10 #302B10 #253010
triadic
#302B10 #10302B #2B1030
tetradic
#302B10 #10301B #101530 #301025
square
#302B10 #10301B #101530 #301025
split-complementary
#302B10 #102530 #1B1030
monochromatic
#171508 #171508 #302B10 #5E541F #8C7D2F

Accessibility & contrast

On white

14.20
#302B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#302B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B10
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B10#FFFFFF#000000##FFFFFF
##302B101.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A0D
Deuteranopia (green-blind)
#312C11
Tritanopia (blue-blind)
#342825
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302b10;
/* rgb */ color: rgb(48, 43, 16);
/* oklch */ color: oklch(28.7% 0.043 99.0);
Tailwind
colors: {
  custom: {
    50: '#69644f',
    500: '#302b10',
    950: '#000000',
  },
}
SCSS
$custom: #302b10;
$custom-light: #69644f;
$custom-dark: #000000;
JSON
{
  "hex": "#302b10",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 16
  },
  "hsl": {
    "h": 50.625,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.28747,
    "c": 0.04303,
    "h": 99
  },
  "luminance": 0.02394
}

Semantic roles & 50–950 ramp

primary
#302B10
secondary
#333B69
accent
#64DA4E
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #302B10

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

Preview Lab → · Contrast checker → · Palette generator →

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