#309F20#309F20

#309F20 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.188 H 141.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#309F20
RGBrgb(48, 159, 32)
HSLhsl(112, 66%, 37%)
HSVhsv(112, 80%, 62%)
CMYKcmyk(69.8%, 0%, 79.9%, 37.6%)
CIE-LABlab(57.59, -53.90, 52.66)
CIE-LCHlch(57.59, 75.35, 135.66°)
OKLaboklab(61.67% -0.1471 0.1174)
OKLCHoklch(61.67% 0.188 141.4)
XYZxyz(13.8770, 25.5275, 5.5622)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F20 #8F209F
analogous
#6F9F20 #309F20 #209F50
triadic
#309F20 #20309F #9F2030
tetradic
#309F20 #206F9F #8F209F #9F5020
square
#309F20 #206F9F #8F209F #9F5020
split-complementary
#309F20 #50209F #9F206F
monochromatic
#11390B #216C16 #309F20 #3FD22A #6CDE5B

Accessibility & contrast

On white

3.44
#309F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#309F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309F20
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309F20#FFFFFF#000000##000000
##309F201.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39000
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#169A87
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f20;
/* rgb */ color: rgb(48, 159, 32);
/* oklch */ color: oklch(61.7% 0.188 141.4);
Tailwind
colors: {
  custom: {
    50: '#79bc66',
    500: '#309f20',
    950: '#000000',
  },
}
SCSS
$custom: #309f20;
$custom-light: #79bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#309f20",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 112.441,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61669,
    "c": 0.18822,
    "h": 141.4
  },
  "luminance": 0.25529
}

Semantic roles & 50–950 ramp

primary
#309F20
secondary
#B559C2
accent
#3EE9D4
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #309F20

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

Preview Lab → · Contrast checker → · Palette generator →

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