#306D2F#306D2F

#306D2F is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.9% C 0.114 H 143.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#306D2F
RGBrgb(48, 109, 47)
HSLhsl(119, 40%, 31%)
HSVhsv(119, 57%, 43%)
CMYKcmyk(56%, 0%, 56.9%, 57.3%)
CIE-LABlab(40.85, -33.47, 28.45)
CIE-LCHlch(40.85, 43.93, 139.63°)
OKLaboklab(47.88% -0.0911 0.068)
OKLCHoklch(47.88% 0.114 143.3)
XYZxyz(7.2003, 11.7703, 4.5812)
Luminance0.1177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D2F #6C2F6D
analogous
#4F6D2F #306D2F #2F6D4D
triadic
#306D2F #2F306D #6D2F30
tetradic
#306D2F #2F4F6D #6C2F6D #6D4D2F
square
#306D2F #2F4F6D #6C2F6D #6D4D2F
split-complementary
#306D2F #4D2F6D #6D2F4F
monochromatic
#0A170A #1D421D #306D2F #439841 #5FB95D

Accessibility & contrast

On white

6.26
#306D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#306D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D2F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D2F#FFFFFF#000000##FFFFFF
##306D2F1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6429
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#276A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d2f;
/* rgb */ color: rgb(48, 109, 47);
/* oklch */ color: oklch(47.9% 0.114 143.3);
Tailwind
colors: {
  custom: {
    50: '#6e9769',
    500: '#306d2f',
    950: '#000000',
  },
}
SCSS
$custom: #306d2f;
$custom-light: #6e9769;
$custom-dark: #000000;
JSON
{
  "hex": "#306d2f",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 47
  },
  "hsl": {
    "h": 119.032,
    "s": 39.744,
    "l": 30.588
  },
  "oklch": {
    "l": 0.47877,
    "c": 0.11361,
    "h": 143.3
  },
  "luminance": 0.11771
}

Semantic roles & 50–950 ramp

primary
#306D2F
secondary
#9D599E
accent
#58D0CE
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #306D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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