#306C16#306C16

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

Color values

HEX#306C16
RGBrgb(48, 108, 22)
HSLhsl(102, 66%, 25%)
HSVhsv(102, 80%, 42%)
CMYKcmyk(55.6%, 0%, 79.6%, 57.6%)
CIE-LABlab(40.26, -35.70, 39.36)
CIE-LCHlch(40.26, 53.14, 132.21°)
OKLaboklab(47.32% -0.0987 0.0882)
OKLCHoklch(47.32% 0.132 138.2)
XYZxyz(6.7261, 11.4109, 2.6070)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C16 #52166C
analogous
#5B6C16 #306C16 #166C27
triadic
#306C16 #16306C #6C1630
tetradic
#306C16 #165B6C #52166C #6C2716
square
#306C16 #165B6C #52166C #6C2716
split-complementary
#306C16 #27166C #6C165B
monochromatic
#0B1905 #19390C #306C16 #479F20 #5DD22B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306C16#FFFFFF#000000##FFFFFF
##306C161.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)
#706204
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#2B685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c16;
/* rgb */ color: rgb(48, 108, 22);
/* oklch */ color: oklch(47.3% 0.132 138.2);
Tailwind
colors: {
  custom: {
    50: '#6f975a',
    500: '#306c16',
    950: '#000000',
  },
}
SCSS
$custom: #306c16;
$custom-light: #6f975a;
$custom-dark: #000000;
JSON
{
  "hex": "#306c16",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 22
  },
  "hsl": {
    "h": 101.86,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47319,
    "c": 0.13232,
    "h": 138.2
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#306C16
secondary
#833CA2
accent
#3FE9B6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306C16

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

Preview Lab → · Contrast checker → · Palette generator →

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