#306E20#306E20

#306E20 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.128 H 139.8°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#306E20
RGBrgb(48, 110, 32)
HSLhsl(108, 55%, 28%)
HSVhsv(108, 71%, 43%)
CMYKcmyk(56.4%, 0%, 70.9%, 56.9%)
CIE-LABlab(41.03, -35.69, 36.05)
CIE-LCHlch(41.03, 50.73, 134.72°)
OKLaboklab(47.98% -0.098 0.0827)
OKLCHoklch(47.98% 0.128 139.8)
XYZxyz(7.0553, 11.8840, 3.2883)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#306E20 #5E206E
analogous
#576E20 #306E20 #206E37
triadic
#306E20 #20306E #6E2030
tetradic
#306E20 #20576E #5E206E #6E3720
square
#306E20 #20576E #5E206E #6E3720
split-complementary
#306E20 #37206E #6E2057
monochromatic
#0A1807 #1B3F12 #306E20 #459D2E #5CC841

Accessibility & contrast

On white

6.22
#306E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#306E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #306E20
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##306E20#FFFFFF#000000##FFFFFF
##306E201.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#296A5E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #306e20;
/* rgb */ color: rgb(48, 110, 32);
/* oklch */ color: oklch(48.0% 0.128 139.8);
Tailwind
colors: {
  custom: {
    50: '#6f9860',
    500: '#306e20',
    950: '#000000',
  },
}
SCSS
$custom: #306e20;
$custom-light: #6f9860;
$custom-dark: #000000;
JSON
{
  "hex": "#306e20",
  "rgb": {
    "r": 48,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 107.692,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.12818,
    "h": 139.8
  },
  "luminance": 0.11885
}

Semantic roles & 50–950 ramp

primary
#306E20
secondary
#8F48A2
accent
#4ADEC0
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #306E20

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

Preview Lab → · Contrast checker → · Palette generator →

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