#303A20#303A20

#303A20 is a dark, muted yellow-green. Relative luminance 0.038; OKLCH L 33.2% C 0.045 H 125.9°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#303A20
RGBrgb(48, 58, 32)
HSLhsl(83, 29%, 18%)
HSVhsv(83, 45%, 23%)
CMYKcmyk(17.2%, 0%, 44.8%, 77.3%)
CIE-LABlab(22.86, -9.60, 14.81)
CIE-LCHlch(22.86, 17.65, 122.96°)
OKLaboklab(33.16% -0.0263 0.0364)
OKLCHoklch(33.16% 0.045 125.9)
XYZxyz(2.9927, 3.7588, 1.9341)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A20 #2A203A
analogous
#3A3720 #303A20 #233A20
triadic
#303A20 #20303A #3A2030
tetradic
#303A20 #203A37 #2A203A #3A2023
square
#303A20 #203A37 #2A203A #3A2023
split-complementary
#303A20 #20233A #37203A
monochromatic
#10140B #10140B #303A20 #516136 #71894C

Accessibility & contrast

On white

11.99
#303A20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#303A20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A20
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A20#FFFFFF#000000##FFFFFF
##303A201.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#3B3621
Tritanopia (blue-blind)
#313834
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303a20;
/* rgb */ color: rgb(48, 58, 32);
/* oklch */ color: oklch(33.2% 0.045 125.9);
Tailwind
colors: {
  custom: {
    50: '#69705b',
    500: '#303a20',
    950: '#000000',
  },
}
SCSS
$custom: #303a20;
$custom-light: #69705b;
$custom-dark: #000000;
JSON
{
  "hex": "#303a20",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 32
  },
  "hsl": {
    "h": 83.077,
    "s": 28.889,
    "l": 17.647
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.04492,
    "h": 125.9
  },
  "luminance": 0.03759
}

Semantic roles & 50–950 ramp

primary
#303A20
secondary
#57496D
accent
#63C589
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060704
muted
#7A7A79

Preview Lab

Preview with #303A20

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

Preview Lab → · Contrast checker → · Palette generator →

#303A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva