#306A21#306A21

#306A21 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.8% C 0.122 H 139.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#306A21
RGBrgb(48, 106, 33)
HSLhsl(108, 53%, 27%)
HSVhsv(108, 69%, 42%)
CMYKcmyk(54.7%, 0%, 68.9%, 58.4%)
CIE-LABlab(39.66, -33.90, 34.11)
CIE-LCHlch(39.66, 48.09, 134.82°)
OKLaboklab(46.85% -0.093 0.0787)
OKLCHoklch(46.85% 0.122 139.8)
XYZxyz(6.6472, 11.0457, 3.2203)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A21 #5B216A
analogous
#556A21 #306A21 #216A36
triadic
#306A21 #21306A #6A2130
tetradic
#306A21 #21556A #5B216A #6A3621
square
#306A21 #21556A #5B216A #6A3621
split-complementary
#306A21 #36216A #6A2155
monochromatic
#0B1707 #1B3B12 #306A21 #459930 #5CC441

Accessibility & contrast

On white

6.54
#306A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#306A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A21
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A21#FFFFFF#000000##FFFFFF
##306A211.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6018
Deuteranopia (green-blind)
#655C27
Tritanopia (blue-blind)
#2A665B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #306a21;
/* rgb */ color: rgb(48, 106, 33);
/* oklch */ color: oklch(46.8% 0.122 139.8);
Tailwind
colors: {
  custom: {
    50: '#6f9560',
    500: '#306a21',
    950: '#000000',
  },
}
SCSS
$custom: #306a21;
$custom-light: #6f9560;
$custom-dark: #000000;
JSON
{
  "hex": "#306a21",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 33
  },
  "hsl": {
    "h": 107.671,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46847,
    "c": 0.12187,
    "h": 139.8
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#306A21
secondary
#8C499E
accent
#4CDCBE
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306A21

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

Preview Lab → · Contrast checker → · Palette generator →

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