#306648#306648

#306648 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.4% C 0.076 H 157.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#306648
RGBrgb(48, 102, 72)
HSLhsl(147, 36%, 29%)
HSVhsv(147, 53%, 40%)
CMYKcmyk(52.9%, 0%, 29.4%, 60%)
CIE-LABlab(38.90, -25.65, 11.59)
CIE-LCHlch(38.90, 28.15, 155.69°)
OKLaboklab(46.42% -0.0703 0.0295)
OKLCHoklch(46.42% 0.076 157.2)
XYZxyz(7.1394, 10.5984, 7.7991)
Luminance0.1060 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306648 #66304E
analogous
#336630 #306648 #306663
triadic
#306648 #483066 #664830
tetradic
#306648 #303366 #66304E #666330
square
#306648 #303366 #66304E #666330
split-complementary
#306648 #633066 #663033
monochromatic
#0A150F #1C3C2B #306648 #449065 #5DB383

Accessibility & contrast

On white

6.73
#306648 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#306648 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306648
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306648#FFFFFF#000000##FFFFFF
##3066481.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655F46
Deuteranopia (green-blind)
#5D594A
Tritanopia (blue-blind)
#21655E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #306648;
/* rgb */ color: rgb(48, 102, 72);
/* oklch */ color: oklch(46.4% 0.076 157.2);
Tailwind
colors: {
  custom: {
    50: '#6c927b',
    500: '#306648',
    950: '#000000',
  },
}
SCSS
$custom: #306648;
$custom-light: #6c927b;
$custom-dark: #000000;
JSON
{
  "hex": "#306648",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 72
  },
  "hsl": {
    "h": 146.667,
    "s": 36,
    "l": 29.412
  },
  "oklch": {
    "l": 0.46423,
    "c": 0.07623,
    "h": 157.2
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#306648
secondary
#975A7C
accent
#5C9ACC
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D09
muted
#7A7E7B

Preview Lab

Preview with #306648

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

Preview Lab → · Contrast checker → · Palette generator →

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