#303B05#303B05

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

Color values

HEX#303B05
RGBrgb(48, 59, 5)
HSLhsl(72, 84%, 13%)
HSVhsv(72, 92%, 23%)
CMYKcmyk(18.6%, 0%, 91.5%, 76.9%)
CIE-LABlab(22.89, -13.00, 29.12)
CIE-LCHlch(22.89, 31.89, 114.06°)
OKLaboklab(33.08% -0.0387 0.0642)
OKLCHoklch(33.08% 0.075 121.1)
XYZxyz(2.8103, 3.7673, 0.7227)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B05 #10053B
analogous
#3B2B05 #303B05 #153B05
triadic
#303B05 #05303B #3B0530
tetradic
#303B05 #053B2B #10053B #3B0515
square
#303B05 #053B2B #10053B #3B0515
split-complementary
#303B05 #05153B #2B053B
monochromatic
#171C02 #171C02 #303B05 #5E730A #8CAC0F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #303b05;
/* rgb */ color: rgb(48, 59, 5);
/* oklch */ color: oklch(33.1% 0.075 121.1);
Tailwind
colors: {
  custom: {
    50: '#6a704a',
    500: '#303b05',
    950: '#000000',
  },
}
SCSS
$custom: #303b05;
$custom-light: #6a704a;
$custom-dark: #000000;
JSON
{
  "hex": "#303b05",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 5
  },
  "hsl": {
    "h": 72.222,
    "s": 84.375,
    "l": 12.549
  },
  "oklch": {
    "l": 0.33081,
    "c": 0.07492,
    "h": 121.1
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#303B05
secondary
#33207C
accent
#2DFB57
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303B05

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

Preview Lab → · Contrast checker → · Palette generator →

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