#306C22#306C22

#306C22 is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.4% C 0.124 H 140.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#306C22
RGBrgb(48, 108, 34)
HSLhsl(109, 52%, 28%)
HSVhsv(109, 69%, 42%)
CMYKcmyk(55.6%, 0%, 68.5%, 57.6%)
CIE-LABlab(40.36, -34.65, 34.41)
CIE-LCHlch(40.36, 48.83, 135.20°)
OKLaboklab(47.43% -0.095 0.0795)
OKLCHoklch(47.43% 0.124 140.1)
XYZxyz(6.8699, 11.4685, 3.3647)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C22 #5E226C
analogous
#556C22 #306C22 #226C39
triadic
#306C22 #22306C #6C2230
tetradic
#306C22 #22556C #5E226C #6C3922
square
#306C22 #22556C #5E226C #6C3922
split-complementary
#306C22 #39226C #6C2255
monochromatic
#0A1707 #1B3D13 #306C22 #459B31 #5CC444

Accessibility & contrast

On white

6.38
#306C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#306C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306C22
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306C22#FFFFFF#000000##FFFFFF
##306C221.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6219
Deuteranopia (green-blind)
#675D28
Tritanopia (blue-blind)
#2A685D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c22;
/* rgb */ color: rgb(48, 108, 34);
/* oklch */ color: oklch(47.4% 0.124 140.1);
Tailwind
colors: {
  custom: {
    50: '#6f9761',
    500: '#306c22',
    950: '#000000',
  },
}
SCSS
$custom: #306c22;
$custom-light: #6f9761;
$custom-dark: #000000;
JSON
{
  "hex": "#306c22",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 34
  },
  "hsl": {
    "h": 108.649,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47427,
    "c": 0.12386,
    "h": 140.1
  },
  "luminance": 0.11469
}

Semantic roles & 50–950 ramp

primary
#306C22
secondary
#8F4AA0
accent
#4CDCC0
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306C22

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

Preview Lab → · Contrast checker → · Palette generator →

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