#306F20#306F20

#306F20 is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.3% C 0.130 H 139.9°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#306F20
RGBrgb(48, 111, 32)
HSLhsl(108, 55%, 28%)
HSVhsv(108, 71%, 44%)
CMYKcmyk(56.8%, 0%, 71.2%, 56.5%)
CIE-LABlab(41.38, -36.11, 36.41)
CIE-LCHlch(41.38, 51.28, 134.76°)
OKLaboklab(48.26% -0.0991 0.0834)
OKLCHoklch(48.26% 0.13 139.9)
XYZxyz(7.1638, 12.1010, 3.3244)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306F20 #5F206F
analogous
#576F20 #306F20 #206F37
triadic
#306F20 #20306F #6F2030
tetradic
#306F20 #20576F #5F206F #6F3720
square
#306F20 #20576F #5F206F #6F3720
split-complementary
#306F20 #37206F #6F2057
monochromatic
#0A1807 #1B3F12 #306F20 #459F2E #5DC841

Accessibility & contrast

On white

6.14
#306F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#306F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306F20
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306F20#FFFFFF#000000##FFFFFF
##306F201.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726515
Deuteranopia (green-blind)
#6A6027
Tritanopia (blue-blind)
#296B5F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #306f20;
/* rgb */ color: rgb(48, 111, 32);
/* oklch */ color: oklch(48.3% 0.130 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9960',
    500: '#306f20',
    950: '#000000',
  },
}
SCSS
$custom: #306f20;
$custom-light: #6f9960;
$custom-dark: #000000;
JSON
{
  "hex": "#306f20",
  "rgb": {
    "r": 48,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 107.848,
    "s": 55.245,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.12953,
    "h": 139.9
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#306F20
secondary
#9048A3
accent
#49DFC0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #306F20

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

Preview Lab → · Contrast checker → · Palette generator →

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