#306B2A#306B2A

#306B2A is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.2% C 0.115 H 141.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#306B2A
RGBrgb(48, 107, 42)
HSLhsl(114, 44%, 29%)
HSVhsv(114, 61%, 42%)
CMYKcmyk(55.1%, 0%, 60.7%, 58%)
CIE-LABlab(40.10, -33.28, 30.18)
CIE-LCHlch(40.10, 44.93, 137.80°)
OKLaboklab(47.24% -0.0908 0.0713)
OKLCHoklch(47.24% 0.115 141.9)
XYZxyz(6.8942, 11.3104, 4.0099)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306B2A #652A6B
analogous
#516B2A #306B2A #2A6B45
triadic
#306B2A #2A306B #6B2A30
tetradic
#306B2A #2A516B #652A6B #6B452A
square
#306B2A #2A516B #652A6B #6B452A
split-complementary
#306B2A #452A6B #6B2A51
monochromatic
#0A1609 #1C3F19 #306B2A #44973B #5DBC54

Accessibility & contrast

On white

6.44
#306B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#306B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306B2A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306B2A#FFFFFF#000000##FFFFFF
##306B2A1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6223
Deuteranopia (green-blind)
#665D2F
Tritanopia (blue-blind)
#28685D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306b2a;
/* rgb */ color: rgb(48, 107, 42);
/* oklch */ color: oklch(47.2% 0.115 141.9);
Tailwind
colors: {
  custom: {
    50: '#6e9666',
    500: '#306b2a',
    950: '#000000',
  },
}
SCSS
$custom: #306b2a;
$custom-light: #6e9666;
$custom-dark: #000000;
JSON
{
  "hex": "#306b2a",
  "rgb": {
    "r": 48,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 114.462,
    "s": 43.624,
    "l": 29.216
  },
  "oklch": {
    "l": 0.47241,
    "c": 0.11543,
    "h": 141.9
  },
  "luminance": 0.11311
}

Semantic roles & 50–950 ramp

primary
#306B2A
secondary
#96549D
accent
#54D3C8
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #306B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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