#309D2D#309D2D

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

Color values

HEX#309D2D
RGBrgb(48, 157, 45)
HSLhsl(118, 55%, 40%)
HSVhsv(118, 71%, 62%)
CMYKcmyk(69.4%, 0%, 71.3%, 38.4%)
CIE-LABlab(57.01, -52.22, 47.43)
CIE-LCHlch(57.01, 70.54, 137.75°)
OKLaboklab(61.22% -0.1419 0.1082)
OKLCHoklch(61.22% 0.179 142.7)
XYZxyz(13.7487, 24.9303, 6.5696)
Luminance0.2493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D2D #9A2D9D
analogous
#689D2D #309D2D #2D9D62
triadic
#309D2D #2D309D #9D2D30
tetradic
#309D2D #2D689D #9A2D9D #9D622D
square
#309D2D #2D689D #9A2D9D #9D622D
split-complementary
#309D2D #622D9D #9D2D68
monochromatic
#133E12 #216D1F #309D2D #43C83F #72D66F

Accessibility & contrast

On white

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

On black

5.99
#309D2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309D2D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309D2D#FFFFFF#000000##000000
##309D2D1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E1B
Deuteranopia (green-blind)
#948538
Tritanopia (blue-blind)
#139887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d2d;
/* rgb */ color: rgb(48, 157, 45);
/* oklch */ color: oklch(61.2% 0.178 142.7);
Tailwind
colors: {
  custom: {
    50: '#78bb6c',
    500: '#309d2d',
    950: '#000000',
  },
}
SCSS
$custom: #309d2d;
$custom-light: #78bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#309d2d",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 45
  },
  "hsl": {
    "h": 118.393,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.61215,
    "c": 0.1785,
    "h": 142.7
  },
  "luminance": 0.24932
}

Semantic roles & 50–950 ramp

primary
#309D2D
secondary
#BB69BD
accent
#49DFDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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