#303D14#303D14

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

Color values

HEX#303D14
RGBrgb(48, 61, 20)
HSLhsl(79, 51%, 16%)
HSVhsv(79, 67%, 24%)
CMYKcmyk(21.3%, 0%, 67.2%, 76.1%)
CIE-LABlab(23.73, -12.97, 23.04)
CIE-LCHlch(23.73, 26.44, 119.38°)
OKLaboklab(33.8% -0.0369 0.0535)
OKLCHoklch(33.8% 0.065 124.6)
XYZxyz(3.0139, 4.0163, 1.2781)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D14 #21143D
analogous
#3D3514 #303D14 #1B3D14
triadic
#303D14 #14303D #3D1430
tetradic
#303D14 #143D35 #21143D #3D141B
square
#303D14 #143D35 #21143D #3D141B
split-complementary
#303D14 #141B3D #35143D
monochromatic
#121708 #121708 #303D14 #546B23 #799932

Accessibility & contrast

On white

11.65
#303D14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303D14
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D14#FFFFFF#000000##FFFFFF
##303D141.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413910
Deuteranopia (green-blind)
#3F3817
Tritanopia (blue-blind)
#323A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303d14;
/* rgb */ color: rgb(48, 61, 20);
/* oklch */ color: oklch(33.8% 0.065 124.6);
Tailwind
colors: {
  custom: {
    50: '#6a7253',
    500: '#303d14',
    950: '#000000',
  },
}
SCSS
$custom: #303d14;
$custom-light: #6a7253;
$custom-dark: #000000;
JSON
{
  "hex": "#303d14",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 20
  },
  "hsl": {
    "h": 79.024,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.338,
    "c": 0.06501,
    "h": 124.6
  },
  "luminance": 0.04016
}

Semantic roles & 50–950 ramp

primary
#303D14
secondary
#4B3875
accent
#4EDA7A
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #303D14

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

Preview Lab → · Contrast checker → · Palette generator →

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