#306F4F#306F4F

#306F4F is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.1% C 0.084 H 158.9°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#306F4F
RGBrgb(48, 111, 79)
HSLhsl(150, 40%, 31%)
HSVhsv(150, 57%, 44%)
CMYKcmyk(56.8%, 0%, 28.8%, 56.5%)
CIE-LABlab(42.09, -28.45, 11.83)
CIE-LCHlch(42.09, 30.81, 157.43°)
OKLaboklab(49.08% -0.078 0.0301)
OKLCHoklch(49.08% 0.084 158.9)
XYZxyz(8.3139, 12.5610, 9.3820)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F4F #6F3050
analogous
#306F30 #306F4F #306F6E
triadic
#306F4F #4F306F #6F4F30
tetradic
#306F4F #30306F #6F3050 #6F6E30
square
#306F4F #30306F #6F3050 #6F6E30
split-complementary
#306F4F #6E306F #6F3030
monochromatic
#0B1A12 #1E4431 #306F4F #429A6D #5FBA8C

Accessibility & contrast

On white

5.98
#306F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#306F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F4F
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F4F#FFFFFF#000000##FFFFFF
##306F4F1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674D
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#1B6E66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #306f4f;
/* rgb */ color: rgb(48, 111, 79);
/* oklch */ color: oklch(49.1% 0.084 158.9);
Tailwind
colors: {
  custom: {
    50: '#6e9980',
    500: '#306f4f',
    950: '#000000',
  },
}
SCSS
$custom: #306f4f;
$custom-light: #6e9980;
$custom-dark: #000000;
JSON
{
  "hex": "#306f4f",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 79
  },
  "hsl": {
    "h": 149.524,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49083,
    "c": 0.08361,
    "h": 158.9
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#306F4F
secondary
#A05B7E
accent
#5895D0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #306F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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