#303A08#303A08

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

Color values

HEX#303A08
RGBrgb(48, 58, 8)
HSLhsl(72, 76%, 13%)
HSVhsv(72, 86%, 23%)
CMYKcmyk(17.2%, 0%, 86.2%, 77.3%)
CIE-LABlab(22.56, -12.21, 27.56)
CIE-LCHlch(22.56, 30.14, 113.90°)
OKLaboklab(32.82% -0.0361 0.0613)
OKLCHoklch(32.82% 0.071 120.5)
XYZxyz(2.7759, 3.6720, 0.7922)
Luminance0.0367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303A08 #12083A
analogous
#3A2B08 #303A08 #173A08
triadic
#303A08 #08303A #3A0830
tetradic
#303A08 #083A2B #12083A #3A0817
square
#303A08 #083A2B #12083A #3A0817
split-complementary
#303A08 #08173A #2B083A
monochromatic
#161B04 #161B04 #303A08 #5D700F #89A617

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303A08#FFFFFF#000000##FFFFFF
##303A081.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)
#3E3601
Deuteranopia (green-blind)
#3D360C
Tritanopia (blue-blind)
#333630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #303a08;
/* rgb */ color: rgb(48, 58, 8);
/* oklch */ color: oklch(32.8% 0.071 120.5);
Tailwind
colors: {
  custom: {
    50: '#6a704c',
    500: '#303a08',
    950: '#000000',
  },
}
SCSS
$custom: #303a08;
$custom-light: #6a704c;
$custom-dark: #000000;
JSON
{
  "hex": "#303a08",
  "rgb": {
    "r": 48,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 72,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32821,
    "c": 0.07116,
    "h": 120.5
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#303A08
secondary
#362579
accent
#35F25B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303A08

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

Preview Lab → · Contrast checker → · Palette generator →

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