#306C2E#306C2E

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

Color values

HEX#306C2E
RGBrgb(48, 108, 46)
HSLhsl(118, 40%, 30%)
HSVhsv(118, 57%, 42%)
CMYKcmyk(55.6%, 0%, 57.4%, 57.6%)
CIE-LABlab(40.49, -33.18, 28.56)
CIE-LCHlch(40.49, 43.77, 139.28°)
OKLaboklab(47.58% -0.0903 0.0681)
OKLCHoklch(47.58% 0.113 143)
XYZxyz(7.0743, 11.5502, 4.4409)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C2E #6A2E6C
analogous
#4F6C2E #306C2E #2E6C4B
triadic
#306C2E #2E306C #6C2E30
tetradic
#306C2E #2E4F6C #6A2E6C #6C4B2E
square
#306C2E #2E4F6C #6A2E6C #6C4B2E
split-complementary
#306C2E #4B2E6C #6C2E4F
monochromatic
#0A1609 #1D411C #306C2E #439740 #5EB95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306C2E#FFFFFF#000000##FFFFFF
##306C2E1.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)
#6E6328
Deuteranopia (green-blind)
#665D33
Tritanopia (blue-blind)
#27695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c2e;
/* rgb */ color: rgb(48, 108, 46);
/* oklch */ color: oklch(47.6% 0.113 143.0);
Tailwind
colors: {
  custom: {
    50: '#6e9768',
    500: '#306c2e',
    950: '#000000',
  },
}
SCSS
$custom: #306c2e;
$custom-light: #6e9768;
$custom-dark: #000000;
JSON
{
  "hex": "#306c2e",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 46
  },
  "hsl": {
    "h": 118.065,
    "s": 40.26,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4758,
    "c": 0.11309,
    "h": 143
  },
  "luminance": 0.11551
}

Semantic roles & 50–950 ramp

primary
#306C2E
secondary
#9B589E
accent
#58D0CC
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #306C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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