#309D20#309D20

#309D20 is a mid, vivid green. Relative luminance 0.248; OKLCH L 61.1% C 0.186 H 141.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#309D20
RGBrgb(48, 157, 32)
HSLhsl(112, 66%, 37%)
HSVhsv(112, 80%, 62%)
CMYKcmyk(69.4%, 0%, 79.6%, 38.4%)
CIE-LABlab(56.92, -53.22, 52.03)
CIE-LCHlch(56.92, 74.43, 135.65°)
OKLaboklab(61.12% -0.1453 0.1161)
OKLCHoklch(61.12% 0.186 141.4)
XYZxyz(13.5359, 24.8452, 5.4485)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D20 #8D209D
analogous
#6F9D20 #309D20 #209D4F
triadic
#309D20 #20309D #9D2030
tetradic
#309D20 #206F9D #8D209D #9D4F20
square
#309D20 #206F9D #8D209D #9D4F20
split-complementary
#309D20 #4F209D #9D206F
monochromatic
#11370B #206A16 #309D20 #40D02A #6BDD5A

Accessibility & contrast

On white

3.52
#309D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#309D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309D20
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309D20#FFFFFF#000000##000000
##309D201.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#179886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d20;
/* rgb */ color: rgb(48, 157, 32);
/* oklch */ color: oklch(61.1% 0.186 141.4);
Tailwind
colors: {
  custom: {
    50: '#79bb66',
    500: '#309d20',
    950: '#000000',
  },
}
SCSS
$custom: #309d20;
$custom-light: #79bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#309d20",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 112.32,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6112,
    "c": 0.18598,
    "h": 141.4
  },
  "luminance": 0.24847
}

Semantic roles & 50–950 ramp

primary
#309D20
secondary
#B457C1
accent
#3FE9D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #309D20

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

Preview Lab → · Contrast checker → · Palette generator →

#309D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva