#303D16#303D16

#303D16 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.8% C 0.063 H 125.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#303D16
RGBrgb(48, 61, 22)
HSLhsl(80, 47%, 16%)
HSVhsv(80, 64%, 24%)
CMYKcmyk(21.3%, 0%, 63.9%, 76.1%)
CIE-LABlab(23.75, -12.75, 21.95)
CIE-LCHlch(23.75, 25.39, 120.15°)
OKLaboklab(33.83% -0.0361 0.0515)
OKLCHoklch(33.83% 0.063 125)
XYZxyz(3.0325, 4.0238, 1.3758)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D16 #23163D
analogous
#3D3716 #303D16 #1D3D16
triadic
#303D16 #16303D #3D1630
tetradic
#303D16 #163D37 #23163D #3D161D
square
#303D16 #163D37 #23163D #3D161D
split-complementary
#303D16 #161D3D #37163D
monochromatic
#121608 #121608 #303D16 #536A26 #779736

Accessibility & contrast

On white

11.64
#303D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#303D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303D16
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D16#FFFFFF#000000##FFFFFF
##303D161.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403912
Deuteranopia (green-blind)
#3F3819
Tritanopia (blue-blind)
#323A34
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #303d16;
/* rgb */ color: rgb(48, 61, 22);
/* oklch */ color: oklch(33.8% 0.063 125.0);
Tailwind
colors: {
  custom: {
    50: '#697254',
    500: '#303d16',
    950: '#000000',
  },
}
SCSS
$custom: #303d16;
$custom-light: #697254;
$custom-dark: #000000;
JSON
{
  "hex": "#303d16",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 22
  },
  "hsl": {
    "h": 80,
    "s": 46.988,
    "l": 16.275
  },
  "oklch": {
    "l": 0.33828,
    "c": 0.06283,
    "h": 125
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#303D16
secondary
#4E3B74
accent
#51D77E
background
#F6F6F4
surface
#EBECE8
border
#C6C7C4
text
#060803
muted
#7A7B78

Preview Lab

Preview with #303D16

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

Preview Lab → · Contrast checker → · Palette generator →

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