#309C2F#309C2F

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

Color values

HEX#309C2F
RGBrgb(48, 156, 47)
HSLhsl(119, 54%, 40%)
HSVhsv(119, 70%, 61%)
CMYKcmyk(69.2%, 0%, 69.9%, 38.8%)
CIE-LABlab(56.69, -51.68, 46.29)
CIE-LCHlch(56.69, 69.38, 138.15°)
OKLaboklab(60.96% -0.1404 0.1061)
OKLCHoklch(60.96% 0.176 142.9)
XYZxyz(13.6197, 24.6091, 6.7210)
Luminance0.2461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309C2F #9B2F9C
analogous
#669C2F #309C2F #2F9C65
triadic
#309C2F #2F309C #9C2F30
tetradic
#309C2F #2F669C #9B2F9C #9C652F
square
#309C2F #2F669C #9B2F9C #9C652F
split-complementary
#309C2F #652F9C #9C2F66
monochromatic
#133E13 #226D21 #309C2F #43C642 #72D471

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309C2F#FFFFFF#000000##000000
##309C2F1.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)
#9F8D1F
Deuteranopia (green-blind)
#938539
Tritanopia (blue-blind)
#139786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #309c2f;
/* rgb */ color: rgb(48, 156, 47);
/* oklch */ color: oklch(61.0% 0.176 142.9);
Tailwind
colors: {
  custom: {
    50: '#78ba6d',
    500: '#309c2f',
    950: '#000000',
  },
}
SCSS
$custom: #309c2f;
$custom-light: #78ba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#309c2f",
  "rgb": {
    "r": 48,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 119.45,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.60959,
    "c": 0.17597,
    "h": 142.9
  },
  "luminance": 0.24611
}

Semantic roles & 50–950 ramp

primary
#309C2F
secondary
#BB6BBC
accent
#4BDDDC
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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