#306641#306641

#306641 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.3% C 0.084 H 152.1°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#306641
RGBrgb(48, 102, 65)
HSLhsl(139, 36%, 29%)
HSVhsv(139, 53%, 40%)
CMYKcmyk(52.9%, 0%, 36.3%, 60%)
CIE-LABlab(38.75, -27.16, 15.57)
CIE-LCHlch(38.75, 31.30, 150.17°)
OKLaboklab(46.25% -0.0739 0.0391)
OKLCHoklch(46.25% 0.084 152.1)
XYZxyz(6.9239, 10.5122, 6.6642)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306641 #663055
analogous
#3A6630 #306641 #30665C
triadic
#306641 #413066 #664130
tetradic
#306641 #303A66 #663055 #665C30
square
#306641 #303A66 #663055 #665C30
split-complementary
#306641 #5C3066 #66303A
monochromatic
#0A150D #1C3C26 #306641 #44905C #5DB378

Accessibility & contrast

On white

6.77
#306641 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#306641 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306641
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306641#FFFFFF#000000##FFFFFF
##3066411.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E3F
Deuteranopia (green-blind)
#5E5943
Tritanopia (blue-blind)
#24655C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306641;
/* rgb */ color: rgb(48, 102, 65);
/* oklch */ color: oklch(46.3% 0.084 152.1);
Tailwind
colors: {
  custom: {
    50: '#6d9276',
    500: '#306641',
    950: '#000000',
  },
}
SCSS
$custom: #306641;
$custom-light: #6d9276;
$custom-dark: #000000;
JSON
{
  "hex": "#306641",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 65
  },
  "hsl": {
    "h": 138.889,
    "s": 36,
    "l": 29.412
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.08361,
    "h": 152.1
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#306641
secondary
#975A84
accent
#5CA9CC
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #306641

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

Preview Lab → · Contrast checker → · Palette generator →

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