#306D2E#306D2E

#306D2E is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.9% C 0.115 H 143.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#306D2E
RGBrgb(48, 109, 46)
HSLhsl(118, 41%, 30%)
HSVhsv(118, 58%, 43%)
CMYKcmyk(56%, 0%, 57.8%, 57.3%)
CIE-LABlab(40.84, -33.61, 28.97)
CIE-LCHlch(40.84, 44.37, 139.25°)
OKLaboklab(47.86% -0.0915 0.069)
OKLCHoklch(47.86% 0.115 143)
XYZxyz(7.1803, 11.7623, 4.4762)
Luminance0.1176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D2E #6B2E6D
analogous
#4F6D2E #306D2E #2E6D4B
triadic
#306D2E #2E306D #6D2E30
tetradic
#306D2E #2E4F6D #6B2E6D #6D4B2E
square
#306D2E #2E4F6D #6B2E6D #6D4B2E
split-complementary
#306D2E #4B2E6D #6D2E4F
monochromatic
#0A170A #1D421C #306D2E #439840 #5EBA5B

Accessibility & contrast

On white

6.26
#306D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#306D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306D2E
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D2E#FFFFFF#000000##FFFFFF
##306D2E1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6428
Deuteranopia (green-blind)
#675E33
Tritanopia (blue-blind)
#276A5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d2e;
/* rgb */ color: rgb(48, 109, 46);
/* oklch */ color: oklch(47.9% 0.115 143.0);
Tailwind
colors: {
  custom: {
    50: '#6e9768',
    500: '#306d2e',
    950: '#000000',
  },
}
SCSS
$custom: #306d2e;
$custom-light: #6e9768;
$custom-dark: #000000;
JSON
{
  "hex": "#306d2e",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 46
  },
  "hsl": {
    "h": 118.095,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.47863,
    "c": 0.11458,
    "h": 143
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#306D2E
secondary
#9C589F
accent
#57D0CD
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #306D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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