#309D45#309D45

#309D45 is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.5% C 0.160 H 146.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#309D45
RGBrgb(48, 157, 69)
HSLhsl(132, 53%, 40%)
HSVhsv(132, 69%, 62%)
CMYKcmyk(69.4%, 0%, 56.1%, 38.4%)
CIE-LABlab(57.24, -49.46, 36.86)
CIE-LCHlch(57.24, 61.68, 143.31°)
OKLaboklab(61.48% -0.1334 0.088)
OKLCHoklch(61.48% 0.16 146.6)
XYZxyz(14.3491, 25.1704, 9.7312)
Luminance0.2517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D45 #9D3088
analogous
#519D30 #309D45 #309D7C
triadic
#309D45 #45309D #9D4530
tetradic
#309D45 #30519D #9D3088 #9D7C30
square
#309D45 #30519D #9D3088 #9D7C30
split-complementary
#309D45 #7C309D #9D3051
monochromatic
#133F1C #226E30 #309D45 #44C65D #73D486

Accessibility & contrast

On white

3.48
#309D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#309D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309D45
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309D45#FFFFFF#000000##000000
##309D451.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8F3D
Deuteranopia (green-blind)
#92864C
Tritanopia (blue-blind)
#029989
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d45;
/* rgb */ color: rgb(48, 157, 69);
/* oklch */ color: oklch(61.5% 0.160 146.6);
Tailwind
colors: {
  custom: {
    50: '#77bb7b',
    500: '#309d45',
    950: '#000000',
  },
}
SCSS
$custom: #309d45;
$custom-light: #77bb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#309d45",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 69
  },
  "hsl": {
    "h": 131.56,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.61484,
    "c": 0.15985,
    "h": 146.6
  },
  "luminance": 0.25172
}

Semantic roles & 50–950 ramp

primary
#309D45
secondary
#BC6DAD
accent
#4BC1DD
background
#F7FBF7
surface
#EEF6EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #309D45

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

Preview Lab → · Contrast checker → · Palette generator →

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