#306D2A#306D2A

#306D2A is a mid, moderate green. Relative luminance 0.117; OKLCH L 47.8% C 0.118 H 141.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#306D2A
RGBrgb(48, 109, 42)
HSLhsl(115, 44%, 30%)
HSVhsv(115, 61%, 43%)
CMYKcmyk(56%, 0%, 61.5%, 57.3%)
CIE-LABlab(40.79, -34.15, 30.98)
CIE-LCHlch(40.79, 46.11, 137.78°)
OKLaboklab(47.81% -0.0931 0.073)
OKLCHoklch(47.81% 0.118 141.9)
XYZxyz(7.1051, 11.7323, 4.0802)
Luminance0.1173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306D2A #672A6D
analogous
#526D2A #306D2A #2A6D46
triadic
#306D2A #2A306D #6D2A30
tetradic
#306D2A #2A526D #672A6D #6D462A
square
#306D2A #2A526D #672A6D #6D462A
split-complementary
#306D2A #462A6D #6D2A52
monochromatic
#0A1609 #1D4119 #306D2A #43993B #5EBD54

Accessibility & contrast

On white

6.28
#306D2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #306D2A
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306D2A#FFFFFF#000000##FFFFFF
##306D2A1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706323
Deuteranopia (green-blind)
#685E2F
Tritanopia (blue-blind)
#286A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #306d2a;
/* rgb */ color: rgb(48, 109, 42);
/* oklch */ color: oklch(47.8% 0.118 141.9);
Tailwind
colors: {
  custom: {
    50: '#6f9766',
    500: '#306d2a',
    950: '#000000',
  },
}
SCSS
$custom: #306d2a;
$custom-light: #6f9766;
$custom-dark: #000000;
JSON
{
  "hex": "#306d2a",
  "rgb": {
    "r": 48,
    "g": 109,
    "b": 42
  },
  "hsl": {
    "h": 114.627,
    "s": 44.371,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47807,
    "c": 0.11835,
    "h": 141.9
  },
  "luminance": 0.11733
}

Semantic roles & 50–950 ramp

primary
#306D2A
secondary
#98549F
accent
#54D4C9
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080D06
muted
#7B7E7A

Preview Lab

Preview with #306D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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