#309D2B#309D2B

#309D2B is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.2% C 0.180 H 142.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#309D2B
RGBrgb(48, 157, 43)
HSLhsl(117, 57%, 39%)
HSVhsv(117, 73%, 62%)
CMYKcmyk(69.4%, 0%, 72.6%, 38.4%)
CIE-LABlab(56.99, -52.39, 48.20)
CIE-LCHlch(56.99, 71.19, 137.39°)
OKLaboklab(61.2% -0.1425 0.1096)
OKLCHoklch(61.2% 0.18 142.4)
XYZxyz(13.7111, 24.9153, 6.3716)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D2B #982B9D
analogous
#699D2B #309D2B #2B9D5F
triadic
#309D2B #2B309D #9D2B30
tetradic
#309D2B #2B699D #982B9D #9D5F2B
square
#309D2B #2B699D #982B9D #9D5F2B
split-complementary
#309D2B #5F2B9D #9D2B69
monochromatic
#133D11 #216D1E #309D2B #42CA3C #70D76C

Accessibility & contrast

On white

3.51
#309D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#309D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309D2B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309D2B#FFFFFF#000000##000000
##309D2B1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E18
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#149887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d2b;
/* rgb */ color: rgb(48, 157, 43);
/* oklch */ color: oklch(61.2% 0.180 142.4);
Tailwind
colors: {
  custom: {
    50: '#78bb6b',
    500: '#309d2b',
    950: '#000000',
  },
}
SCSS
$custom: #309d2b;
$custom-light: #78bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#309d2b",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 117.368,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61199,
    "c": 0.17979,
    "h": 142.4
  },
  "luminance": 0.24917
}

Semantic roles & 50–950 ramp

primary
#309D2B
secondary
#BA66BD
accent
#48E0DA
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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