#306642#306642

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

Color values

HEX#306642
RGBrgb(48, 102, 66)
HSLhsl(140, 36%, 29%)
HSVhsv(140, 53%, 40%)
CMYKcmyk(52.9%, 0%, 35.3%, 60%)
CIE-LABlab(38.77, -26.95, 15.01)
CIE-LCHlch(38.77, 30.84, 150.89°)
OKLaboklab(46.28% -0.0734 0.0378)
OKLCHoklch(46.28% 0.083 152.8)
XYZxyz(6.9532, 10.5239, 6.8181)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306642 #663054
analogous
#396630 #306642 #30665D
triadic
#306642 #423066 #664230
tetradic
#306642 #303966 #663054 #665D30
square
#306642 #303966 #663054 #665D30
split-complementary
#306642 #5D3066 #663039
monochromatic
#0A150D #1C3C27 #306642 #44905D #5DB37A

Accessibility & contrast

On white

6.76
#306642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306642
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306642#FFFFFF#000000##FFFFFF
##3066421.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665F40
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#23655D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #306642;
/* rgb */ color: rgb(48, 102, 66);
/* oklch */ color: oklch(46.3% 0.083 152.8);
Tailwind
colors: {
  custom: {
    50: '#6c9276',
    500: '#306642',
    950: '#000000',
  },
}
SCSS
$custom: #306642;
$custom-light: #6c9276;
$custom-dark: #000000;
JSON
{
  "hex": "#306642",
  "rgb": {
    "r": 48,
    "g": 102,
    "b": 66
  },
  "hsl": {
    "h": 140,
    "s": 36,
    "l": 29.412
  },
  "oklch": {
    "l": 0.46275,
    "c": 0.08253,
    "h": 152.8
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#306642
secondary
#975A83
accent
#5CA7CC
background
#F6F9F7
surface
#ECF1ED
border
#C7CBC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #306642

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

Preview Lab → · Contrast checker → · Palette generator →

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