#306C12#306C12

#306C12 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.3% C 0.135 H 137.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#306C12
RGBrgb(48, 108, 18)
HSLhsl(100, 71%, 25%)
HSVhsv(100, 83%, 42%)
CMYKcmyk(55.6%, 0%, 83.3%, 57.6%)
CIE-LABlab(40.24, -35.97, 40.74)
CIE-LCHlch(40.24, 54.35, 131.44°)
OKLaboklab(47.29% -0.0996 0.0904)
OKLCHoklch(47.29% 0.135 137.8)
XYZxyz(6.6904, 11.3967, 2.4194)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C12 #4E126C
analogous
#5D6C12 #306C12 #126C21
triadic
#306C12 #12306C #6C1230
tetradic
#306C12 #125D6C #4E126C #6C2112
square
#306C12 #125D6C #4E126C #6C2112
split-complementary
#306C12 #21126C #6C125D
monochromatic
#0C1A04 #193809 #306C12 #47A01B #5FD523

Accessibility & contrast

On white

6.40
#306C12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#306C12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C12
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C12#FFFFFF#000000##FFFFFF
##306C121.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1D
Tritanopia (blue-blind)
#2B685B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c12;
/* rgb */ color: rgb(48, 108, 18);
/* oklch */ color: oklch(47.3% 0.135 137.8);
Tailwind
colors: {
  custom: {
    50: '#709758',
    500: '#306c12',
    950: '#000000',
  },
}
SCSS
$custom: #306c12;
$custom-light: #709758;
$custom-dark: #000000;
JSON
{
  "hex": "#306c12",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 18
  },
  "hsl": {
    "h": 100,
    "s": 71.429,
    "l": 24.706
  },
  "oklch": {
    "l": 0.47293,
    "c": 0.13453,
    "h": 137.8
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#306C12
secondary
#7F36A3
accent
#3AEEB2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306C12

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

Preview Lab → · Contrast checker → · Palette generator →

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