#303D07#303D07

#303D07 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.076 H 122.8°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#303D07
RGBrgb(48, 61, 7)
HSLhsl(74, 79%, 13%)
HSVhsv(74, 89%, 24%)
CMYKcmyk(21.3%, 0%, 88.5%, 76.1%)
CIE-LABlab(23.61, -14.02, 29.04)
CIE-LCHlch(23.61, 32.25, 115.77°)
OKLaboklab(33.67% -0.0412 0.0641)
OKLCHoklch(33.67% 0.076 122.8)
XYZxyz(2.9261, 3.9812, 0.8153)
Luminance0.0398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303D07 #14073D
analogous
#3D2F07 #303D07 #153D07
triadic
#303D07 #07303D #3D0730
tetradic
#303D07 #073D2F #14073D #3D0715
square
#303D07 #073D2F #14073D #3D0715
split-complementary
#303D07 #07153D #2F073D
monochromatic
#161B03 #161B03 #303D07 #5B740D #86AB14

Accessibility & contrast

On white

11.69
#303D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303D07
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303D07#FFFFFF#000000##FFFFFF
##303D071.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413900
Deuteranopia (green-blind)
#40380C
Tritanopia (blue-blind)
#333933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303d07;
/* rgb */ color: rgb(48, 61, 7);
/* oklch */ color: oklch(33.7% 0.076 122.8);
Tailwind
colors: {
  custom: {
    50: '#6a724c',
    500: '#303d07',
    950: '#000000',
  },
}
SCSS
$custom: #303d07;
$custom-light: #6a724c;
$custom-dark: #000000;
JSON
{
  "hex": "#303d07",
  "rgb": {
    "r": 48,
    "g": 61,
    "b": 7
  },
  "hsl": {
    "h": 74.444,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33669,
    "c": 0.07621,
    "h": 122.8
  },
  "luminance": 0.03981
}

Semantic roles & 50–950 ramp

primary
#303D07
secondary
#39237C
accent
#32F661
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070801
muted
#7A7B77

Preview Lab

Preview with #303D07

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

Preview Lab → · Contrast checker → · Palette generator →

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