#303B07#303B07

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

Color values

HEX#303B07
RGBrgb(48, 59, 7)
HSLhsl(73, 79%, 13%)
HSVhsv(73, 88%, 23%)
CMYKcmyk(18.6%, 0%, 88.1%, 76.9%)
CIE-LABlab(22.90, -12.87, 28.32)
CIE-LCHlch(22.90, 31.11, 114.43°)
OKLaboklab(33.1% -0.0381 0.0627)
OKLCHoklch(33.1% 0.073 121.3)
XYZxyz(2.8213, 3.7716, 0.7803)
Luminance0.0377 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303B07 #12073B
analogous
#3B2C07 #303B07 #163B07
triadic
#303B07 #07303B #3B0730
tetradic
#303B07 #073B2C #12073B #3B0716
square
#303B07 #073B2C #12073B #3B0716
split-complementary
#303B07 #07163B #2C073B
monochromatic
#161B03 #161B03 #303B07 #5D720D #89A814

Accessibility & contrast

On white

11.97
#303B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303B07
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303B07#FFFFFF#000000##FFFFFF
##303B071.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303b07;
/* rgb */ color: rgb(48, 59, 7);
/* oklch */ color: oklch(33.1% 0.073 121.3);
Tailwind
colors: {
  custom: {
    50: '#6a704b',
    500: '#303b07',
    950: '#000000',
  },
}
SCSS
$custom: #303b07;
$custom-light: #6a704b;
$custom-dark: #000000;
JSON
{
  "hex": "#303b07",
  "rgb": {
    "r": 48,
    "g": 59,
    "b": 7
  },
  "hsl": {
    "h": 72.692,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33098,
    "c": 0.07336,
    "h": 121.3
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#303B07
secondary
#36237A
accent
#33F55C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303B07

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

Preview Lab → · Contrast checker → · Palette generator →

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