#303B04#303B04

#303B04 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.076 H 121.0°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#303B04
RGBrgb(48, 59, 4)
HSLhsl(72, 87%, 12%)
HSVhsv(72, 93%, 23%)
CMYKcmyk(18.6%, 0%, 93.2%, 76.9%)
CIE-LABlab(22.88, -13.07, 29.52)
CIE-LCHlch(22.88, 32.29, 113.88°)
OKLaboklab(33.07% -0.039 0.0649)
OKLCHoklch(33.07% 0.076 121)
XYZxyz(2.8049, 3.7651, 0.6938)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B04 #0F043B
analogous
#3B2B04 #303B04 #153B04
triadic
#303B04 #04303B #3B0430
tetradic
#303B04 #043B2B #0F043B #3B0415
square
#303B04 #043B2B #0F043B #3B0415
split-complementary
#303B04 #04153B #2B043B
monochromatic
#171D02 #171D02 #303B04 #5F7408 #8DAE0C

Accessibility & contrast

On white

11.98
#303B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#303B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303B04
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B04#FFFFFF#000000##FFFFFF
##303B041.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3E3709
Tritanopia (blue-blind)
#333731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303b04;
/* rgb */ color: rgb(48, 59, 4);
/* oklch */ color: oklch(33.1% 0.076 121.0);
Tailwind
colors: {
  custom: {
    50: '#6a704a',
    500: '#303b04',
    950: '#000000',
  },
}
SCSS
$custom: #303b04;
$custom-light: #6a704a;
$custom-dark: #000000;
JSON
{
  "hex": "#303b04",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 72,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.33072,
    "c": 0.07571,
    "h": 121
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#303B04
secondary
#311E7D
accent
#2AFD55
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303B04

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

Preview Lab → · Contrast checker → · Palette generator →

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