#309B21#309B21

#309B21 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.183 H 141.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#309B21
RGBrgb(48, 155, 33)
HSLhsl(113, 65%, 37%)
HSVhsv(113, 79%, 61%)
CMYKcmyk(69%, 0%, 78.7%, 39.2%)
CIE-LABlab(56.27, -52.47, 51.08)
CIE-LCHlch(56.27, 73.23, 135.77°)
OKLaboklab(60.58% -0.1432 0.1142)
OKLCHoklch(60.58% 0.183 141.4)
XYZxyz(13.2141, 24.1795, 5.4093)
Luminance0.2418 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309B21 #8C219B
analogous
#6D9B21 #309B21 #219B4F
triadic
#309B21 #21309B #9B2130
tetradic
#309B21 #216D9B #8C219B #9B4F21
square
#309B21 #216D9B #8C219B #9B4F21
split-complementary
#309B21 #4F219B #9B216D
monochromatic
#11360C #206916 #309B21 #40CD2C #6ADC5A

Accessibility & contrast

On white

3.60
#309B21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#309B21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309B21
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309B21#FFFFFF#000000##000000
##309B211.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#92842F
Tritanopia (blue-blind)
#189684
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #309b21;
/* rgb */ color: rgb(48, 155, 33);
/* oklch */ color: oklch(60.6% 0.183 141.4);
Tailwind
colors: {
  custom: {
    50: '#78b966',
    500: '#309b21',
    950: '#000000',
  },
}
SCSS
$custom: #309b21;
$custom-light: #78b966;
$custom-dark: #000000;
JSON
{
  "hex": "#309b21",
  "rgb": {
    "r": 48,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 112.623,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60576,
    "c": 0.18321,
    "h": 141.4
  },
  "luminance": 0.24181
}

Semantic roles & 50–950 ramp

primary
#309B21
secondary
#B358C0
accent
#40E8D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #309B21

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

Preview Lab → · Contrast checker → · Palette generator →

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