#306C20#306C20

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

Color values

HEX#306C20
RGBrgb(48, 108, 32)
HSLhsl(107, 54%, 27%)
HSVhsv(107, 70%, 42%)
CMYKcmyk(55.6%, 0%, 70.4%, 57.6%)
CIE-LABlab(40.34, -34.85, 35.31)
CIE-LCHlch(40.34, 49.61, 134.63°)
OKLaboklab(47.41% -0.0957 0.0811)
OKLCHoklch(47.41% 0.125 139.7)
XYZxyz(6.8419, 11.4572, 3.2171)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306C20 #5C206C
analogous
#566C20 #306C20 #206C36
triadic
#306C20 #20306C #6C2030
tetradic
#306C20 #20566C #5C206C #6C3620
square
#306C20 #20566C #5C206C #6C3620
split-complementary
#306C20 #36206C #6C2056
monochromatic
#0A1807 #1B3D12 #306C20 #459B2E #5CC640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##306C20#FFFFFF#000000##FFFFFF
##306C201.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)
#6F6216
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#2A685C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #306c20;
/* rgb */ color: rgb(48, 108, 32);
/* oklch */ color: oklch(47.4% 0.125 139.7);
Tailwind
colors: {
  custom: {
    50: '#6f9760',
    500: '#306c20',
    950: '#000000',
  },
}
SCSS
$custom: #306c20;
$custom-light: #6f9760;
$custom-dark: #000000;
JSON
{
  "hex": "#306c20",
  "rgb": {
    "r": 48,
    "g": 108,
    "b": 32
  },
  "hsl": {
    "h": 107.368,
    "s": 54.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.47406,
    "c": 0.12544,
    "h": 139.7
  },
  "luminance": 0.11458
}

Semantic roles & 50–950 ramp

primary
#306C20
secondary
#8D48A0
accent
#4ADEBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D05
muted
#7B7E79

Preview Lab

Preview with #306C20

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

Preview Lab → · Contrast checker → · Palette generator →

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