#303218#303218

#303218 is a dark, muted yellow. Relative luminance 0.030; OKLCH L 30.8% C 0.042 H 112.5°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#303218
RGBrgb(48, 50, 24)
HSLhsl(65, 35%, 15%)
HSVhsv(65, 52%, 20%)
CMYKcmyk(4%, 0%, 52%, 80.4%)
CIE-LABlab(19.95, -5.76, 16.20)
CIE-LCHlch(19.95, 17.20, 109.57°)
OKLaboklab(30.79% -0.0161 0.0391)
OKLCHoklch(30.79% 0.042 112.5)
XYZxyz(2.5244, 2.9756, 1.3053)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303218 #1A1832
analogous
#322718 #303218 #233218
triadic
#303218 #183032 #321830
tetradic
#303218 #183227 #1A1832 #321823
square
#303218 #183227 #1A1832 #321823
split-complementary
#303218 #182332 #271832
monochromatic
#14150A #14150A #303218 #585B2C #7F8540

Accessibility & contrast

On white

13.16
#303218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#303218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303218
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303218#FFFFFF#000000##FFFFFF
##3032181.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353016
Deuteranopia (green-blind)
#353119
Tritanopia (blue-blind)
#332F2C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #303218;
/* rgb */ color: rgb(48, 50, 24);
/* oklch */ color: oklch(30.8% 0.042 112.5);
Tailwind
colors: {
  custom: {
    50: '#696955',
    500: '#303218',
    950: '#000000',
  },
}
SCSS
$custom: #303218;
$custom-light: #696955;
$custom-dark: #000000;
JSON
{
  "hex": "#303218",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 24
  },
  "hsl": {
    "h": 64.615,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.30787,
    "c": 0.04225,
    "h": 112.5
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#303218
secondary
#423F67
accent
#5DCB65
background
#F6F6F4
surface
#EBEBE8
border
#C6C6C4
text
#060603
muted
#7A7A78

Preview Lab

Preview with #303218

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

Preview Lab → · Contrast checker → · Palette generator →

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