#309F21#309F21

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

Color values

HEX#309F21
RGBrgb(48, 159, 33)
HSLhsl(113, 66%, 38%)
HSVhsv(113, 79%, 62%)
CMYKcmyk(69.8%, 0%, 79.2%, 37.6%)
CIE-LABlab(57.59, -53.83, 52.35)
CIE-LCHlch(57.59, 75.09, 135.80°)
OKLaboklab(61.68% -0.1469 0.1169)
OKLCHoklch(61.68% 0.188 141.5)
XYZxyz(13.8908, 25.5330, 5.6349)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F21 #90219F
analogous
#6F9F21 #309F21 #219F51
triadic
#309F21 #21309F #9F2130
tetradic
#309F21 #216F9F #90219F #9F5121
square
#309F21 #216F9F #90219F #9F5121
split-complementary
#309F21 #51219F #9F216F
monochromatic
#113A0C #216C16 #309F21 #3FD22C #6CDD5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309F21#FFFFFF#000000##000000
##309F211.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)
#968730
Tritanopia (blue-blind)
#169A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f21;
/* rgb */ color: rgb(48, 159, 33);
/* oklch */ color: oklch(61.7% 0.188 141.5);
Tailwind
colors: {
  custom: {
    50: '#79bc67',
    500: '#309f21',
    950: '#000000',
  },
}
SCSS
$custom: #309f21;
$custom-light: #79bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#309f21",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 112.857,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.18773,
    "h": 141.5
  },
  "luminance": 0.25534
}

Semantic roles & 50–950 ramp

primary
#309F21
secondary
#B55AC2
accent
#3FE9D4
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #309F21

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

Preview Lab → · Contrast checker → · Palette generator →

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