#309C2D#309C2D

#309C2D is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.177 H 142.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#309C2D
RGBrgb(48, 156, 45)
HSLhsl(118, 55%, 39%)
HSVhsv(118, 71%, 61%)
CMYKcmyk(69.2%, 0%, 71.2%, 38.8%)
CIE-LABlab(56.68, -51.87, 47.09)
CIE-LCHlch(56.68, 70.05, 137.77°)
OKLaboklab(60.94% -0.141 0.1075)
OKLCHoklch(60.94% 0.177 142.7)
XYZxyz(13.5803, 24.5933, 6.5134)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309C2D #992D9C
analogous
#689C2D #309C2D #2D9C61
triadic
#309C2D #2D309C #9C2D30
tetradic
#309C2D #2D689C #992D9C #9C612D
square
#309C2D #2D689C #992D9C #9C612D
split-complementary
#309C2D #612D9C #9C2D68
monochromatic
#133D12 #216D1F #309C2D #42C83F #71D56E

Accessibility & contrast

On white

3.55
#309C2D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#309C2D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309C2D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309C2D#FFFFFF#000000##000000
##309C2D1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1C
Deuteranopia (green-blind)
#938538
Tritanopia (blue-blind)
#149786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #309c2d;
/* rgb */ color: rgb(48, 156, 45);
/* oklch */ color: oklch(60.9% 0.177 142.7);
Tailwind
colors: {
  custom: {
    50: '#78ba6c',
    500: '#309c2d',
    950: '#000000',
  },
}
SCSS
$custom: #309c2d;
$custom-light: #78ba6c;
$custom-dark: #000000;
JSON
{
  "hex": "#309c2d",
  "rgb": {
    "r": 48,
    "g": 156,
    "b": 45
  },
  "hsl": {
    "h": 118.378,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.17731,
    "h": 142.7
  },
  "luminance": 0.24595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #309C2D

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

Preview Lab → · Contrast checker → · Palette generator →

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