#306C18#306C18

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

Color values

HEX#306C18
RGBrgb(48, 108, 24)
HSLhsl(103, 64%, 26%)
HSVhsv(103, 78%, 42%)
CMYKcmyk(55.6%, 0%, 77.8%, 57.6%)
CIE-LABlab(40.28, -35.56, 38.62)
CIE-LCHlch(40.28, 52.49, 132.64°)
OKLaboklab(47.33% -0.0981 0.0869)
OKLCHoklch(47.33% 0.131 138.5)
XYZxyz(6.7461, 11.4189, 2.7126)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C18 #54186C
analogous
#5A6C18 #306C18 #186C2A
triadic
#306C18 #18306C #6C1830
tetradic
#306C18 #185A6C #54186C #6C2A18
square
#306C18 #185A6C #54186C #6C2A18
split-complementary
#306C18 #2A186C #6C185A
monochromatic
#0B1906 #1A3A0D #306C18 #469E23 #5DD02E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306C18#FFFFFF#000000##FFFFFF
##306C181.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)
#6F6208
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#2B685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c18;
/* rgb */ color: rgb(48, 108, 24);
/* oklch */ color: oklch(47.3% 0.131 138.5);
Tailwind
colors: {
  custom: {
    50: '#6f975b',
    500: '#306c18',
    950: '#000000',
  },
}
SCSS
$custom: #306c18;
$custom-light: #6f975b;
$custom-dark: #000000;
JSON
{
  "hex": "#306c18",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 102.857,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47334,
    "c": 0.13108,
    "h": 138.5
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#306C18
secondary
#853EA2
accent
#41E7B7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #306C18

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

Preview Lab → · Contrast checker → · Palette generator →

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