#306E12#306E12

#306E12 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.9% C 0.137 H 138.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#306E12
RGBrgb(48, 110, 18)
HSLhsl(100, 72%, 25%)
HSVhsv(100, 84%, 43%)
CMYKcmyk(56.4%, 0%, 83.6%, 56.9%)
CIE-LABlab(40.93, -36.79, 41.39)
CIE-LCHlch(40.93, 55.37, 131.63°)
OKLaboklab(47.86% -0.1018 0.0918)
OKLCHoklch(47.86% 0.137 138)
XYZxyz(6.9038, 11.8234, 2.4905)
Luminance0.1182 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E12 #50126E
analogous
#5E6E12 #306E12 #126E22
triadic
#306E12 #12306E #6E1230
tetradic
#306E12 #125E6E #50126E #6E2212
square
#306E12 #125E6E #50126E #6E2212
split-complementary
#306E12 #22126E #6E125E
monochromatic
#0B1A04 #193909 #306E12 #47A31B #5ED723

Accessibility & contrast

On white

6.24
#306E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#306E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E12
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E12#FFFFFF#000000##FFFFFF
##306E121.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#2B6A5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306e12;
/* rgb */ color: rgb(48, 110, 18);
/* oklch */ color: oklch(47.9% 0.137 138.0);
Tailwind
colors: {
  custom: {
    50: '#709859',
    500: '#306e12',
    950: '#000000',
  },
}
SCSS
$custom: #306e12;
$custom-light: #709859;
$custom-dark: #000000;
JSON
{
  "hex": "#306e12",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 100.435,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47864,
    "c": 0.13707,
    "h": 138
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#306E12
secondary
#8137A5
accent
#39EFB3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #306E12

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

Preview Lab → · Contrast checker → · Palette generator →

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