#303C06#303C06

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

Color values

HEX#303C06
RGBrgb(48, 60, 6)
HSLhsl(73, 82%, 13%)
HSVhsv(73, 90%, 24%)
CMYKcmyk(20%, 0%, 90%, 76.5%)
CIE-LABlab(23.25, -13.51, 29.09)
CIE-LCHlch(23.25, 32.07, 114.92°)
OKLaboklab(33.38% -0.0399 0.0641)
OKLCHoklch(33.38% 0.076 121.9)
XYZxyz(2.8677, 3.8732, 0.7688)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C06 #12063C
analogous
#3C2D06 #303C06 #153C06
triadic
#303C06 #06303C #3C0630
tetradic
#303C06 #063C2D #12063C #3C0615
square
#303C06 #063C2D #12063C #3C0615
split-complementary
#303C06 #06153C #2D063C
monochromatic
#161C03 #161C03 #303C06 #5D740C #89AB11

Accessibility & contrast

On white

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

On black

1.77
#303C06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##303C06#FFFFFF#000000##FFFFFF
##303C061.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #303c06;
/* rgb */ color: rgb(48, 60, 6);
/* oklch */ color: oklch(33.4% 0.076 121.9);
Tailwind
colors: {
  custom: {
    50: '#6a714b',
    500: '#303c06',
    950: '#000000',
  },
}
SCSS
$custom: #303c06;
$custom-light: #6a714b;
$custom-dark: #000000;
JSON
{
  "hex": "#303c06",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 6
  },
  "hsl": {
    "h": 73.333,
    "s": 81.818,
    "l": 12.941
  },
  "oklch": {
    "l": 0.33375,
    "c": 0.07555,
    "h": 121.9
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#303C06
secondary
#36227C
accent
#30F85C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070701
muted
#7A7A77

Preview Lab

Preview with #303C06

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

Preview Lab → · Contrast checker → · Palette generator →

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