#309D2E#309D2E

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

Color values

HEX#309D2E
RGBrgb(48, 157, 46)
HSLhsl(119, 55%, 40%)
HSVhsv(119, 71%, 62%)
CMYKcmyk(69.4%, 0%, 70.7%, 38.4%)
CIE-LABlab(57.02, -52.13, 47.04)
CIE-LCHlch(57.02, 70.21, 137.94°)
OKLaboklab(61.22% -0.1416 0.1076)
OKLCHoklch(61.22% 0.178 142.8)
XYZxyz(13.7682, 24.9381, 6.6722)
Luminance0.2494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D2E #9B2E9D
analogous
#689D2E #309D2E #2E9D64
triadic
#309D2E #2E309D #9D2E30
tetradic
#309D2E #2E689D #9B2E9D #9D642E
square
#309D2E #2E689D #9B2E9D #9D642E
split-complementary
#309D2E #642E9D #9D2E68
monochromatic
#133E12 #226E20 #309D2E #43C741 #72D570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309D2E#FFFFFF#000000##000000
##309D2E1.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)
#A08E1D
Deuteranopia (green-blind)
#948539
Tritanopia (blue-blind)
#139887
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d2e;
/* rgb */ color: rgb(48, 157, 46);
/* oklch */ color: oklch(61.2% 0.178 142.8);
Tailwind
colors: {
  custom: {
    50: '#78bb6d',
    500: '#309d2e',
    950: '#000000',
  },
}
SCSS
$custom: #309d2e;
$custom-light: #78bb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#309d2e",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 118.919,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.61224,
    "c": 0.17785,
    "h": 142.8
  },
  "luminance": 0.2494
}

Semantic roles & 50–950 ramp

primary
#309D2E
secondary
#BB6ABD
accent
#4ADEDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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