#309A21#309A21

#309A21 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.182 H 141.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#309A21
RGBrgb(48, 154, 33)
HSLhsl(113, 65%, 37%)
HSVhsv(113, 79%, 60%)
CMYKcmyk(68.8%, 0%, 78.6%, 39.6%)
CIE-LABlab(55.94, -52.13, 50.75)
CIE-LCHlch(55.94, 72.76, 135.77°)
OKLaboklab(60.3% -0.1423 0.1136)
OKLCHoklch(60.3% 0.182 141.4)
XYZxyz(13.0483, 23.8480, 5.3540)
Luminance0.2385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A21 #8B219A
analogous
#6D9A21 #309A21 #219A4F
triadic
#309A21 #21309A #9A2130
tetradic
#309A21 #216D9A #8B219A #9A4F21
square
#309A21 #216D9A #8B219A #9A4F21
split-complementary
#309A21 #4F219A #9A216D
monochromatic
#11350B #206816 #309A21 #40CC2C #6ADC5A

Accessibility & contrast

On white

3.64
#309A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#309A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309A21
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309A21#FFFFFF#000000##000000
##309A211.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B01
Deuteranopia (green-blind)
#92832F
Tritanopia (blue-blind)
#199583
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309a21;
/* rgb */ color: rgb(48, 154, 33);
/* oklch */ color: oklch(60.3% 0.182 141.4);
Tailwind
colors: {
  custom: {
    50: '#78b966',
    500: '#309a21',
    950: '#000000',
  },
}
SCSS
$custom: #309a21;
$custom-light: #78b966;
$custom-dark: #000000;
JSON
{
  "hex": "#309a21",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 112.562,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.18207,
    "h": 141.4
  },
  "luminance": 0.23849
}

Semantic roles & 50–950 ramp

primary
#309A21
secondary
#B357C0
accent
#40E8D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #309A21

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

Preview Lab → · Contrast checker → · Palette generator →

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