#303C07#303C07

#303C07 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.075 H 122.0°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#303C07
RGBrgb(48, 60, 7)
HSLhsl(74, 79%, 13%)
HSVhsv(74, 88%, 24%)
CMYKcmyk(20%, 0%, 88.3%, 76.5%)
CIE-LABlab(23.26, -13.45, 28.69)
CIE-LCHlch(23.26, 31.68, 115.11°)
OKLaboklab(33.38% -0.0396 0.0634)
OKLCHoklch(33.38% 0.075 122)
XYZxyz(2.8732, 3.8754, 0.7976)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C07 #13073C
analogous
#3C2D07 #303C07 #153C07
triadic
#303C07 #07303C #3C0730
tetradic
#303C07 #073C2D #13073C #3C0715
square
#303C07 #073C2D #13073C #3C0715
split-complementary
#303C07 #07153C #2D073C
monochromatic
#161B03 #161B03 #303C07 #5C730D #88AA14

Accessibility & contrast

On white

11.83
#303C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#303C07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303C07
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C07#FFFFFF#000000##FFFFFF
##303C071.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403800
Deuteranopia (green-blind)
#3F370C
Tritanopia (blue-blind)
#333832
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303c07;
/* rgb */ color: rgb(48, 60, 7);
/* oklch */ color: oklch(33.4% 0.075 122.0);
Tailwind
colors: {
  custom: {
    50: '#6a714c',
    500: '#303c07',
    950: '#000000',
  },
}
SCSS
$custom: #303c07;
$custom-light: #6a714c;
$custom-dark: #000000;
JSON
{
  "hex": "#303c07",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 7
  },
  "hsl": {
    "h": 73.585,
    "s": 79.104,
    "l": 13.137
  },
  "oklch": {
    "l": 0.33383,
    "c": 0.07478,
    "h": 122
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#303C07
secondary
#37237B
accent
#32F65E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303C07

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

Preview Lab → · Contrast checker → · Palette generator →

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