#306147#306147

#306147 is a mid, moderate green. Relative luminance 0.096; OKLCH L 45.0% C 0.069 H 158.7°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#306147
RGBrgb(48, 97, 71)
HSLhsl(148, 34%, 28%)
HSVhsv(148, 51%, 38%)
CMYKcmyk(50.5%, 0%, 26.8%, 62%)
CIE-LABlab(37.17, -23.37, 9.81)
CIE-LCHlch(37.17, 25.34, 157.24°)
OKLaboklab(45.01% -0.0643 0.0251)
OKLCHoklch(45.01% 0.069 158.7)
XYZxyz(6.6304, 9.6322, 7.4698)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306147 #61304A
analogous
#316130 #306147 #30615F
triadic
#306147 #473061 #614730
tetradic
#306147 #303161 #61304A #615F30
square
#306147 #303161 #61304A #615F30
split-complementary
#306147 #5F3061 #613031
monochromatic
#0A140F #1C3829 #306147 #448A65 #5DAF83

Accessibility & contrast

On white

7.18
#306147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#306147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #306147
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306147#FFFFFF#000000##FFFFFF
##3061471.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605B46
Deuteranopia (green-blind)
#595549
Tritanopia (blue-blind)
#23605A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #306147;
/* rgb */ color: rgb(48, 97, 71);
/* oklch */ color: oklch(45.0% 0.069 158.7);
Tailwind
colors: {
  custom: {
    50: '#6c8e7a',
    500: '#306147',
    950: '#000000',
  },
}
SCSS
$custom: #306147;
$custom-light: #6c8e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#306147",
  "rgb": {
    "r": 48,
    "g": 97,
    "b": 71
  },
  "hsl": {
    "h": 148.163,
    "s": 33.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.45014,
    "c": 0.06902,
    "h": 158.7
  },
  "luminance": 0.09633
}

Semantic roles & 50–950 ramp

primary
#306147
secondary
#925A78
accent
#5E97CA
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#070C09
muted
#7A7D7B

Preview Lab

Preview with #306147

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

Preview Lab → · Contrast checker → · Palette generator →

#306147 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva