#306D40#306D40

#306D40 is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.2% C 0.096 H 150.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#306D40
RGBrgb(48, 109, 64)
HSLhsl(136, 39%, 31%)
HSVhsv(136, 56%, 43%)
CMYKcmyk(56%, 0%, 41.3%, 57.3%)
CIE-LABlab(41.11, -30.65, 19.31)
CIE-LCHlch(41.11, 36.22, 147.79°)
OKLaboklab(48.18% -0.0831 0.048)
OKLCHoklch(48.18% 0.096 150)
XYZxyz(7.6125, 11.9352, 6.7521)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D40 #6D305D
analogous
#3E6D30 #306D40 #306D5E
triadic
#306D40 #40306D #6D4030
tetradic
#306D40 #303E6D #6D305D #6D5E30
square
#306D40 #303E6D #6D305D #6D5E30
split-complementary
#306D40 #5E306D #6D303E
monochromatic
#0B180E #1D4327 #306D40 #439759 #5FB876

Accessibility & contrast

On white

6.20
#306D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#306D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D40
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D40#FFFFFF#000000##FFFFFF
##306D401.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E643D
Deuteranopia (green-blind)
#655F43
Tritanopia (blue-blind)
#226B62
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306d40;
/* rgb */ color: rgb(48, 109, 64);
/* oklch */ color: oklch(48.2% 0.096 150.0);
Tailwind
colors: {
  custom: {
    50: '#6e9775',
    500: '#306d40',
    950: '#000000',
  },
}
SCSS
$custom: #306d40;
$custom-light: #6e9775;
$custom-dark: #000000;
JSON
{
  "hex": "#306d40",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 64
  },
  "hsl": {
    "h": 135.738,
    "s": 38.854,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4818,
    "c": 0.09598,
    "h": 150
  },
  "luminance": 0.11936
}

Semantic roles & 50–950 ramp

primary
#306D40
secondary
#9E5B8C
accent
#59B0CF
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #306D40

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

Preview Lab → · Contrast checker → · Palette generator →

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