#309D21#309D21

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

Color values

HEX#309D21
RGBrgb(48, 157, 33)
HSLhsl(113, 65%, 37%)
HSVhsv(113, 79%, 62%)
CMYKcmyk(69.4%, 0%, 79%, 38.4%)
CIE-LABlab(56.93, -53.16, 51.71)
CIE-LCHlch(56.93, 74.16, 135.79°)
OKLaboklab(61.13% -0.1451 0.1156)
OKLCHoklch(61.13% 0.185 141.5)
XYZxyz(13.5497, 24.8507, 5.5211)
Luminance0.2485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D21 #8E219D
analogous
#6E9D21 #309D21 #219D50
triadic
#309D21 #21309D #9D2130
tetradic
#309D21 #216E9D #8E219D #9D5021
square
#309D21 #216E9D #8E219D #9D5021
split-complementary
#309D21 #50219D #9D216E
monochromatic
#11380C #216A16 #309D21 #3FD02C #6BDD5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309D21#FFFFFF#000000##000000
##309D211.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: #309d21;
/* rgb */ color: rgb(48, 157, 33);
/* oklch */ color: oklch(61.1% 0.185 141.5);
Tailwind
colors: {
  custom: {
    50: '#79bb66',
    500: '#309d21',
    950: '#000000',
  },
}
SCSS
$custom: #309d21;
$custom-light: #79bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#309d21",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 33
  },
  "hsl": {
    "h": 112.742,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.61126,
    "c": 0.18547,
    "h": 141.5
  },
  "luminance": 0.24852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #309D21

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

Preview Lab → · Contrast checker → · Palette generator →

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