#303C12#303C12

#303C12 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.065 H 123.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#303C12
RGBrgb(48, 60, 18)
HSLhsl(77, 54%, 15%)
HSVhsv(77, 70%, 24%)
CMYKcmyk(20%, 0%, 70%, 76.5%)
CIE-LABlab(23.35, -12.59, 23.70)
CIE-LCHlch(23.35, 26.84, 117.97°)
OKLaboklab(33.49% -0.0361 0.0547)
OKLCHoklch(33.49% 0.065 123.4)
XYZxyz(2.9440, 3.9038, 1.1706)
Luminance0.0390 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303C12 #1E123C
analogous
#3C3312 #303C12 #1B3C12
triadic
#303C12 #12303C #3C1230
tetradic
#303C12 #123C33 #1E123C #3C121B
square
#303C12 #123C33 #1E123C #3C121B
split-complementary
#303C12 #121B3C #33123C
monochromatic
#131807 #131807 #303C12 #566B20 #7B9A2E

Accessibility & contrast

On white

11.79
#303C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #303C12
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303C12#FFFFFF#000000##FFFFFF
##303C121.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40380D
Deuteranopia (green-blind)
#3E3815
Tritanopia (blue-blind)
#333933
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #303c12;
/* rgb */ color: rgb(48, 60, 18);
/* oklch */ color: oklch(33.5% 0.065 123.4);
Tailwind
colors: {
  custom: {
    50: '#6a7152',
    500: '#303c12',
    950: '#000000',
  },
}
SCSS
$custom: #303c12;
$custom-light: #6a7152;
$custom-dark: #000000;
JSON
{
  "hex": "#303c12",
  "rgb": {
    "r": 48,
    "g": 60,
    "b": 18
  },
  "hsl": {
    "h": 77.143,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33491,
    "c": 0.06549,
    "h": 123.4
  },
  "luminance": 0.03904
}

Semantic roles & 50–950 ramp

primary
#303C12
secondary
#473575
accent
#4BDD74
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060702
muted
#7A7A78

Preview Lab

Preview with #303C12

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

Preview Lab → · Contrast checker → · Palette generator →

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