#303B02#303B02

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

Color values

HEX#303B02
RGBrgb(48, 59, 2)
HSLhsl(72, 93%, 12%)
HSVhsv(72, 97%, 23%)
CMYKcmyk(18.6%, 0%, 96.6%, 76.9%)
CIE-LABlab(22.86, -13.21, 30.32)
CIE-LCHlch(22.86, 33.07, 113.54°)
OKLaboklab(33.06% -0.0396 0.0664)
OKLCHoklch(33.06% 0.077 120.8)
XYZxyz(2.7939, 3.7607, 0.6361)
Luminance0.0376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B02 #0D023B
analogous
#3B2A02 #303B02 #143B02
triadic
#303B02 #02303B #3B0230
tetradic
#303B02 #023B2A #0D023B #3B0214
square
#303B02 #023B2A #0D023B #3B0214
split-complementary
#303B02 #02143B #2A023B
monochromatic
#181E01 #181E01 #303B02 #607604 #90B106

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #303b02;
/* rgb */ color: rgb(48, 59, 2);
/* oklch */ color: oklch(33.1% 0.077 120.8);
Tailwind
colors: {
  custom: {
    50: '#6b7049',
    500: '#303b02',
    950: '#000000',
  },
}
SCSS
$custom: #303b02;
$custom-light: #6b7049;
$custom-dark: #000000;
JSON
{
  "hex": "#303b02",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 2
  },
  "hsl": {
    "h": 71.579,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.33055,
    "c": 0.07733,
    "h": 120.8
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#303B02
secondary
#2E1A7E
accent
#29FF52
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303B02

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

Preview Lab → · Contrast checker → · Palette generator →

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