#303822#303822

#303822 is a dark, muted yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.038 H 124.7°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#303822
RGBrgb(48, 56, 34)
HSLhsl(82, 24%, 18%)
HSVhsv(82, 39%, 22%)
CMYKcmyk(14.3%, 0%, 39.3%, 78%)
CIE-LABlab(22.20, -8.04, 12.67)
CIE-LCHlch(22.20, 15.01, 122.39°)
OKLaboklab(32.65% -0.0218 0.0315)
OKLCHoklch(32.65% 0.038 124.7)
XYZxyz(2.9218, 3.5722, 2.0486)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303822 #2A2238
analogous
#383522 #303822 #253822
triadic
#303822 #223038 #382230
tetradic
#303822 #223835 #2A2238 #382225
square
#303822 #223835 #2A2238 #382225
split-complementary
#303822 #222538 #352238
monochromatic
#10130C #10130C #303822 #515E39 #718450

Accessibility & contrast

On white

12.25
#303822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#303822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303822
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303822#FFFFFF#000000##FFFFFF
##3038221.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3520
Deuteranopia (green-blind)
#393523
Tritanopia (blue-blind)
#313632
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #303822;
/* rgb */ color: rgb(48, 56, 34);
/* oklch */ color: oklch(32.6% 0.038 124.7);
Tailwind
colors: {
  custom: {
    50: '#686e5d',
    500: '#303822',
    950: '#000000',
  },
}
SCSS
$custom: #303822;
$custom-light: #686e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#303822",
  "rgb": {
    "r": 48,
    "g": 56,
    "b": 34
  },
  "hsl": {
    "h": 81.818,
    "s": 24.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.3265,
    "c": 0.03834,
    "h": 124.7
  },
  "luminance": 0.03572
}

Semantic roles & 50–950 ramp

primary
#303822
secondary
#574B6A
accent
#67C188
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060704
muted
#7A7A79

Preview Lab

Preview with #303822

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

Preview Lab → · Contrast checker → · Palette generator →

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