#303D11#303D11

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

Color values

HEX#303D11
RGBrgb(48, 61, 17)
HSLhsl(78, 56%, 15%)
HSVhsv(78, 72%, 24%)
CMYKcmyk(21.3%, 0%, 72.1%, 76.1%)
CIE-LABlab(23.69, -13.27, 24.60)
CIE-LCHlch(23.69, 27.95, 118.33°)
OKLaboklab(33.76% -0.0381 0.0564)
OKLCHoklch(33.76% 0.068 124)
XYZxyz(2.9889, 4.0063, 1.1460)
Luminance0.0401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D11 #1E113D
analogous
#3D3411 #303D11 #1A3D11
triadic
#303D11 #11303D #3D1130
tetradic
#303D11 #113D34 #1E113D #3D111A
square
#303D11 #113D34 #1E113D #3D111A
split-complementary
#303D11 #111A3D #34113D
monochromatic
#131807 #131807 #303D11 #566D1E #7B9D2C

Accessibility & contrast

On white

11.66
#303D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303D11
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D11#FFFFFF#000000##FFFFFF
##303D111.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390C
Deuteranopia (green-blind)
#3F3814
Tritanopia (blue-blind)
#333A34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303d11;
/* rgb */ color: rgb(48, 61, 17);
/* oklch */ color: oklch(33.8% 0.068 124.0);
Tailwind
colors: {
  custom: {
    50: '#6a7251',
    500: '#303d11',
    950: '#000000',
  },
}
SCSS
$custom: #303d11;
$custom-light: #6a7251;
$custom-dark: #000000;
JSON
{
  "hex": "#303d11",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 17
  },
  "hsl": {
    "h": 77.727,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33763,
    "c": 0.06805,
    "h": 124
  },
  "luminance": 0.04006
}

Semantic roles & 50–950 ramp

primary
#303D11
secondary
#473376
accent
#48E075
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #303D11

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

Preview Lab → · Contrast checker → · Palette generator →

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