#306C2F#306C2F

#306C2F is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.6% C 0.112 H 143.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#306C2F
RGBrgb(48, 108, 47)
HSLhsl(119, 39%, 30%)
HSVhsv(119, 56%, 42%)
CMYKcmyk(55.6%, 0%, 56.5%, 57.6%)
CIE-LABlab(40.51, -33.04, 28.04)
CIE-LCHlch(40.51, 43.33, 139.68°)
OKLaboklab(47.6% -0.0899 0.067)
OKLCHoklch(47.6% 0.112 143.3)
XYZxyz(7.0942, 11.5582, 4.5459)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C2F #6B2F6C
analogous
#4E6C2F #306C2F #2F6C4C
triadic
#306C2F #2F306C #6C2F30
tetradic
#306C2F #2F4E6C #6B2F6C #6C4C2F
square
#306C2F #2F4E6C #6B2F6C #6C4C2F
split-complementary
#306C2F #4C2F6C #6C2F4E
monochromatic
#0A170A #1D411C #306C2F #439742 #5EB85D

Accessibility & contrast

On white

6.34
#306C2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#306C2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C2F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C2F#FFFFFF#000000##FFFFFF
##306C2F1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6329
Deuteranopia (green-blind)
#665D33
Tritanopia (blue-blind)
#27695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c2f;
/* rgb */ color: rgb(48, 108, 47);
/* oklch */ color: oklch(47.6% 0.112 143.3);
Tailwind
colors: {
  custom: {
    50: '#6e9769',
    500: '#306c2f',
    950: '#000000',
  },
}
SCSS
$custom: #306c2f;
$custom-light: #6e9769;
$custom-dark: #000000;
JSON
{
  "hex": "#306c2f",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 47
  },
  "hsl": {
    "h": 119.016,
    "s": 39.355,
    "l": 30.392
  },
  "oklch": {
    "l": 0.47595,
    "c": 0.11211,
    "h": 143.3
  },
  "luminance": 0.11559
}

Semantic roles & 50–950 ramp

primary
#306C2F
secondary
#9C599D
accent
#59CFCD
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #306C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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