#309C21#309C21

#309C21 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.9% C 0.184 H 141.4°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#309C21
RGBrgb(48, 156, 33)
HSLhsl(113, 65%, 37%)
HSVhsv(113, 79%, 61%)
CMYKcmyk(69.2%, 0%, 78.8%, 38.8%)
CIE-LABlab(56.60, -52.82, 51.40)
CIE-LCHlch(56.60, 73.69, 135.78°)
OKLaboklab(60.85% -0.1442 0.1149)
OKLCHoklch(60.85% 0.184 141.4)
XYZxyz(13.3812, 24.5137, 5.4650)
Luminance0.2452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309C21 #8D219C
analogous
#6E9C21 #309C21 #219C50
triadic
#309C21 #21309C #9C2130
tetradic
#309C21 #216E9C #8D219C #9C5021
square
#309C21 #216E9C #8D219C #9C5021
split-complementary
#309C21 #50219C #9C216E
monochromatic
#11370C #206916 #309C21 #40CF2C #6BDC5B

Accessibility & contrast

On white

3.56
#309C21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#309C21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309C21
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309C21#FFFFFF#000000##000000
##309C211.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#189785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #309c21;
/* rgb */ color: rgb(48, 156, 33);
/* oklch */ color: oklch(60.9% 0.184 141.4);
Tailwind
colors: {
  custom: {
    50: '#79ba66',
    500: '#309c21',
    950: '#000000',
  },
}
SCSS
$custom: #309c21;
$custom-light: #79ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#309c21",
  "rgb": {
    "r": 48,
    "g": 156,
    "b": 33
  },
  "hsl": {
    "h": 112.683,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.18435,
    "h": 141.4
  },
  "luminance": 0.24515
}

Semantic roles & 50–950 ramp

primary
#309C21
secondary
#B458C1
accent
#40E8D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #309C21

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

Preview Lab → · Contrast checker → · Palette generator →

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