#309D2C#309D2C

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

Color values

HEX#309D2C
RGBrgb(48, 157, 44)
HSLhsl(118, 56%, 39%)
HSVhsv(118, 72%, 62%)
CMYKcmyk(69.4%, 0%, 72%, 38.4%)
CIE-LABlab(57.00, -52.31, 47.82)
CIE-LCHlch(57.00, 70.87, 137.57°)
OKLaboklab(61.21% -0.1422 0.1089)
OKLCHoklch(61.21% 0.179 142.6)
XYZxyz(13.7297, 24.9227, 6.4694)
Luminance0.2492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D2C #992C9D
analogous
#699D2C #309D2C #2C9D61
triadic
#309D2C #2C309D #9D2C30
tetradic
#309D2C #2C699D #992C9D #9D612C
square
#309D2C #2C699D #992C9D #9D612C
split-complementary
#309D2C #612C9D #9D2C69
monochromatic
#133D11 #216D1F #309D2C #42C93D #71D66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309D2C#FFFFFF#000000##000000
##309D2C1.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)
#A18E1A
Deuteranopia (green-blind)
#948537
Tritanopia (blue-blind)
#139887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d2c;
/* rgb */ color: rgb(48, 157, 44);
/* oklch */ color: oklch(61.2% 0.179 142.6);
Tailwind
colors: {
  custom: {
    50: '#78bb6c',
    500: '#309d2c',
    950: '#000000',
  },
}
SCSS
$custom: #309d2c;
$custom-light: #78bb6c;
$custom-dark: #000000;
JSON
{
  "hex": "#309d2c",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 117.876,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61207,
    "c": 0.17915,
    "h": 142.6
  },
  "luminance": 0.24924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #309D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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