#306D4E#306D4E

#306D4E is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.5% C 0.081 H 159.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#306D4E
RGBrgb(48, 109, 78)
HSLhsl(150, 39%, 31%)
HSVhsv(150, 56%, 43%)
CMYKcmyk(56%, 0%, 28.4%, 57.3%)
CIE-LABlab(41.40, -27.72, 11.46)
CIE-LCHlch(41.40, 29.99, 157.54°)
OKLaboklab(48.51% -0.076 0.0292)
OKLCHoklch(48.51% 0.081 159)
XYZxyz(8.0620, 12.1150, 9.1198)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D4E #6D304F
analogous
#306D30 #306D4E #306D6C
triadic
#306D4E #4E306D #6D4E30
tetradic
#306D4E #30306D #6D304F #6D6C30
square
#306D4E #30306D #6D304F #6D6C30
split-complementary
#306D4E #6C306D #6D3030
monochromatic
#0B1811 #1D4330 #306D4E #43976C #5FB88B

Accessibility & contrast

On white

6.13
#306D4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#306D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D4E
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D4E#FFFFFF#000000##FFFFFF
##306D4E1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C654C
Deuteranopia (green-blind)
#635F50
Tritanopia (blue-blind)
#1C6C65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306d4e;
/* rgb */ color: rgb(48, 109, 78);
/* oklch */ color: oklch(48.5% 0.081 159.0);
Tailwind
colors: {
  custom: {
    50: '#6e977f',
    500: '#306d4e',
    950: '#000000',
  },
}
SCSS
$custom: #306d4e;
$custom-light: #6e977f;
$custom-dark: #000000;
JSON
{
  "hex": "#306d4e",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 78
  },
  "hsl": {
    "h": 149.508,
    "s": 38.854,
    "l": 30.784
  },
  "oklch": {
    "l": 0.48507,
    "c": 0.08145,
    "h": 159
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

primary
#306D4E
secondary
#9E5B7D
accent
#5995CF
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070D0A
muted
#7A7E7C

Preview Lab

Preview with #306D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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