#303A07#303A07

#303A07 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.8% C 0.072 H 120.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#303A07
RGBrgb(48, 58, 7)
HSLhsl(72, 78%, 13%)
HSVhsv(72, 88%, 23%)
CMYKcmyk(17.2%, 0%, 87.9%, 77.3%)
CIE-LABlab(22.55, -12.28, 27.96)
CIE-LCHlch(22.55, 30.54, 113.71°)
OKLaboklab(32.81% -0.0365 0.062)
OKLCHoklch(32.81% 0.072 120.5)
XYZxyz(2.7704, 3.6698, 0.7634)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A07 #11073A
analogous
#3A2A07 #303A07 #163A07
triadic
#303A07 #07303A #3A0730
tetradic
#303A07 #073A2A #11073A #3A0716
square
#303A07 #073A2A #11073A #3A0716
split-complementary
#303A07 #07163A #2A073A
monochromatic
#171B03 #171B03 #303A07 #5D710E #8AA714

Accessibility & contrast

On white

12.11
#303A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#303A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303A07
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303A07#FFFFFF#000000##FFFFFF
##303A071.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#333630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a07;
/* rgb */ color: rgb(48, 58, 7);
/* oklch */ color: oklch(32.8% 0.072 120.5);
Tailwind
colors: {
  custom: {
    50: '#6a704b',
    500: '#303a07',
    950: '#000000',
  },
}
SCSS
$custom: #303a07;
$custom-light: #6a704b;
$custom-dark: #000000;
JSON
{
  "hex": "#303a07",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 7
  },
  "hsl": {
    "h": 71.765,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32813,
    "c": 0.07194,
    "h": 120.5
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#303A07
secondary
#342379
accent
#33F559
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303A07

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

Preview Lab → · Contrast checker → · Palette generator →

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