#302810#302810

#302810 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.040 H 91.3°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#302810
RGBrgb(48, 40, 16)
HSLhsl(45, 50%, 13%)
HSVhsv(45, 67%, 19%)
CMYKcmyk(0%, 16.7%, 66.7%, 81.2%)
CIE-LABlab(16.42, -0.09, 16.84)
CIE-LCHlch(16.42, 16.84, 90.31°)
OKLaboklab(27.95% -0.0009 0.0399)
OKLCHoklch(27.95% 0.04 91.3)
XYZxyz(2.0713, 2.1835, 0.8025)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302810 #101830
analogous
#301810 #302810 #283010
triadic
#302810 #103028 #281030
tetradic
#302810 #103018 #101830 #301028
square
#302810 #103018 #101830 #301028
split-complementary
#302810 #102830 #181030
monochromatic
#171308 #171308 #302810 #5E4E1F #8C742F

Accessibility & contrast

On white

14.62
#302810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#302810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302810
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302810#FFFFFF#000000##FFFFFF
##3028101.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270E
Deuteranopia (green-blind)
#2F2A11
Tritanopia (blue-blind)
#342522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #302810;
/* rgb */ color: rgb(48, 40, 16);
/* oklch */ color: oklch(28.0% 0.040 91.3);
Tailwind
colors: {
  custom: {
    50: '#69614f',
    500: '#302810',
    950: '#000000',
  },
}
SCSS
$custom: #302810;
$custom-light: #69614f;
$custom-dark: #000000;
JSON
{
  "hex": "#302810",
  "rgb": {
    "r": 48,
    "g": 40,
    "b": 16
  },
  "hsl": {
    "h": 45,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.2795,
    "c": 0.03995,
    "h": 91.3
  },
  "luminance": 0.02183
}

Semantic roles & 50–950 ramp

primary
#302810
secondary
#334069
accent
#71DA4E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060502
muted
#7A7978

Preview Lab

Preview with #302810

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

Preview Lab → · Contrast checker → · Palette generator →

#302810 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva