#309D2F#309D2F

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

Color values

HEX#309D2F
RGBrgb(48, 157, 47)
HSLhsl(119, 54%, 40%)
HSVhsv(119, 70%, 62%)
CMYKcmyk(69.4%, 0%, 70.1%, 38.4%)
CIE-LABlab(57.02, -52.03, 46.64)
CIE-LCHlch(57.02, 69.88, 138.13°)
OKLaboklab(61.23% -0.1413 0.1068)
OKLCHoklch(61.23% 0.177 142.9)
XYZxyz(13.7882, 24.9461, 6.7772)
Luminance0.2495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D2F #9C2F9D
analogous
#679D2F #309D2F #2F9D65
triadic
#309D2F #2F309D #9D2F30
tetradic
#309D2F #2F679D #9C2F9D #9D652F
square
#309D2F #2F679D #9C2F9D #9D652F
split-complementary
#309D2F #652F9D #9D2F67
monochromatic
#133F13 #226E21 #309D2F #44C743 #73D572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309D2F#FFFFFF#000000##000000
##309D2F1.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)
#A08E1F
Deuteranopia (green-blind)
#94853A
Tritanopia (blue-blind)
#129887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d2f;
/* rgb */ color: rgb(48, 157, 47);
/* oklch */ color: oklch(61.2% 0.177 142.9);
Tailwind
colors: {
  custom: {
    50: '#78bb6e',
    500: '#309d2f',
    950: '#000000',
  },
}
SCSS
$custom: #309d2f;
$custom-light: #78bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#309d2f",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 119.455,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.61233,
    "c": 0.17717,
    "h": 142.9
  },
  "luminance": 0.24948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #309D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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