#303C0C#303C0C

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

Color values

HEX#303C0C
RGBrgb(48, 60, 12)
HSLhsl(75, 67%, 14%)
HSVhsv(75, 80%, 24%)
CMYKcmyk(20%, 0%, 80%, 76.5%)
CIE-LABlab(23.29, -13.11, 26.64)
CIE-LCHlch(23.29, 29.69, 116.19°)
OKLaboklab(33.43% -0.0382 0.0598)
OKLCHoklch(33.43% 0.071 122.5)
XYZxyz(2.9012, 3.8866, 0.9451)
Luminance0.0389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C0C #180C3C
analogous
#3C300C #303C0C #183C0C
triadic
#303C0C #0C303C #3C0C30
tetradic
#303C0C #0C3C30 #180C3C #3C0C18
square
#303C0C #0C3C30 #180C3C #3C0C18
split-complementary
#303C0C #0C183C #300C3C
monochromatic
#141A05 #141A05 #303C0C #596F16 #82A220

Accessibility & contrast

On white

11.82
#303C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303C0C
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C0C#FFFFFF#000000##FFFFFF
##303C0C1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403805
Deuteranopia (green-blind)
#3E3710
Tritanopia (blue-blind)
#333933
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303c0c;
/* rgb */ color: rgb(48, 60, 12);
/* oklch */ color: oklch(33.4% 0.071 122.5);
Tailwind
colors: {
  custom: {
    50: '#6a714e',
    500: '#303c0c',
    950: '#000000',
  },
}
SCSS
$custom: #303c0c;
$custom-light: #6a714e;
$custom-dark: #000000;
JSON
{
  "hex": "#303c0c",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 12
  },
  "hsl": {
    "h": 75,
    "s": 66.667,
    "l": 14.118
  },
  "oklch": {
    "l": 0.33426,
    "c": 0.07098,
    "h": 122.5
  },
  "luminance": 0.03887
}

Semantic roles & 50–950 ramp

primary
#303C0C
secondary
#3F2C78
accent
#3EEA69
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#070702
muted
#7A7A78

Preview Lab

Preview with #303C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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