#306F4E#306F4E

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

Color values

HEX#306F4E
RGBrgb(48, 111, 78)
HSLhsl(149, 40%, 31%)
HSVhsv(149, 57%, 44%)
CMYKcmyk(56.8%, 0%, 29.7%, 56.5%)
CIE-LABlab(42.07, -28.68, 12.39)
CIE-LCHlch(42.07, 31.24, 156.64°)
OKLaboklab(49.06% -0.0785 0.0315)
OKLCHoklch(49.06% 0.085 158.1)
XYZxyz(8.2778, 12.5466, 9.1918)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F4E #6F3051
analogous
#316F30 #306F4E #306F6D
triadic
#306F4E #4E306F #6F4E30
tetradic
#306F4E #30316F #6F3051 #6F6D30
square
#306F4E #30316F #6F3051 #6F6D30
split-complementary
#306F4E #6D306F #6F3031
monochromatic
#0B1A12 #1E4430 #306F4E #429A6C #5FBA8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306F4E#FFFFFF#000000##FFFFFF
##306F4E1.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)
#6E674C
Deuteranopia (green-blind)
#656150
Tritanopia (blue-blind)
#1C6E66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #306f4e;
/* rgb */ color: rgb(48, 111, 78);
/* oklch */ color: oklch(49.1% 0.085 158.1);
Tailwind
colors: {
  custom: {
    50: '#6e997f',
    500: '#306f4e',
    950: '#000000',
  },
}
SCSS
$custom: #306f4e;
$custom-light: #6e997f;
$custom-dark: #000000;
JSON
{
  "hex": "#306f4e",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 78
  },
  "hsl": {
    "h": 148.571,
    "s": 39.623,
    "l": 31.176
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.08459,
    "h": 158.1
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#306F4E
secondary
#A05B7F
accent
#5897D0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #306F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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