#306A2D#306A2D

#306A2D is a mid, moderate green. Relative luminance 0.111; OKLCH L 47.0% C 0.111 H 142.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#306A2D
RGBrgb(48, 106, 45)
HSLhsl(117, 40%, 30%)
HSVhsv(117, 58%, 42%)
CMYKcmyk(54.7%, 0%, 57.5%, 58.4%)
CIE-LABlab(39.79, -32.44, 28.25)
CIE-LCHlch(39.79, 43.02, 138.95°)
OKLaboklab(47% -0.0883 0.0673)
OKLCHoklch(47% 0.111 142.7)
XYZxyz(6.8463, 11.1254, 4.2688)
Luminance0.1113 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306A2D #672D6A
analogous
#4F6A2D #306A2D #2D6A49
triadic
#306A2D #2D306A #6A2D30
tetradic
#306A2D #2D4F6A #672D6A #6A492D
square
#306A2D #2D4F6A #672D6A #6A492D
split-complementary
#306A2D #492D6A #6A2D4F
monochromatic
#0A1509 #1D3F1B #306A2D #43953F #5EB859

Accessibility & contrast

On white

6.51
#306A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#306A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306A2D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306A2D#FFFFFF#000000##FFFFFF
##306A2D1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6127
Deuteranopia (green-blind)
#655C31
Tritanopia (blue-blind)
#28675C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #306a2d;
/* rgb */ color: rgb(48, 106, 45);
/* oklch */ color: oklch(47.0% 0.111 142.7);
Tailwind
colors: {
  custom: {
    50: '#6e9568',
    500: '#306a2d',
    950: '#000000',
  },
}
SCSS
$custom: #306a2d;
$custom-light: #6e9568;
$custom-dark: #000000;
JSON
{
  "hex": "#306a2d",
  "rgb": {
    "r": 48,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 117.049,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.47,
    "c": 0.11108,
    "h": 142.7
  },
  "luminance": 0.11126
}

Semantic roles & 50–950 ramp

primary
#306A2D
secondary
#98579C
accent
#58D0CA
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #306A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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