#303B03#303B03

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

Color values

HEX#303B03
RGBrgb(48, 59, 3)
HSLhsl(72, 90%, 12%)
HSVhsv(72, 95%, 23%)
CMYKcmyk(18.6%, 0%, 94.9%, 76.9%)
CIE-LABlab(22.87, -13.14, 29.92)
CIE-LCHlch(22.87, 32.68, 113.71°)
OKLaboklab(33.06% -0.0393 0.0657)
OKLCHoklch(33.06% 0.077 120.9)
XYZxyz(2.7994, 3.7629, 0.6650)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B03 #0E033B
analogous
#3B2A03 #303B03 #143B03
triadic
#303B03 #03303B #3B0330
tetradic
#303B03 #033B2A #0E033B #3B0314
square
#303B03 #033B2A #0E033B #3B0314
split-complementary
#303B03 #03143B #2A033B
monochromatic
#181D01 #181D01 #303B03 #5F7506 #8FAF09

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##303B03#FFFFFF#000000##FFFFFF
##303B031.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)
#3E3708
Tritanopia (blue-blind)
#333731
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303b03;
/* rgb */ color: rgb(48, 59, 3);
/* oklch */ color: oklch(33.1% 0.077 120.9);
Tailwind
colors: {
  custom: {
    50: '#6b7049',
    500: '#303b03',
    950: '#000000',
  },
}
SCSS
$custom: #303b03;
$custom-light: #6b7049;
$custom-dark: #000000;
JSON
{
  "hex": "#303b03",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 3
  },
  "hsl": {
    "h": 71.786,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.33064,
    "c": 0.07652,
    "h": 120.9
  },
  "luminance": 0.03763
}

Semantic roles & 50–950 ramp

primary
#303B03
secondary
#2F1C7E
accent
#29FF53
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303B03

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

Preview Lab → · Contrast checker → · Palette generator →

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