#309940#309940

#309940 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.159 H 145.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#309940
RGBrgb(48, 153, 64)
HSLhsl(129, 52%, 39%)
HSVhsv(129, 69%, 60%)
CMYKcmyk(68.6%, 0%, 58.2%, 40%)
CIE-LABlab(55.87, -48.67, 37.68)
CIE-LCHlch(55.87, 61.55, 142.25°)
OKLaboklab(60.33% -0.1314 0.0894)
OKLCHoklch(60.33% 0.159 145.8)
XYZxyz(13.5347, 23.7796, 8.7261)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309940 #993089
analogous
#559930 #309940 #309975
triadic
#309940 #403099 #994030
tetradic
#309940 #305599 #993089 #997530
square
#309940 #305599 #993089 #997530
split-complementary
#309940 #753099 #993055
monochromatic
#133C19 #216A2D #309940 #42C456 #71D280

Accessibility & contrast

On white

3.65
#309940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#309940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309940
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309940#FFFFFF#000000##000000
##3099401.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B37
Deuteranopia (green-blind)
#8F8247
Tritanopia (blue-blind)
#0B9585
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309940;
/* rgb */ color: rgb(48, 153, 64);
/* oklch */ color: oklch(60.3% 0.159 145.8);
Tailwind
colors: {
  custom: {
    50: '#76b877',
    500: '#309940',
    950: '#000000',
  },
}
SCSS
$custom: #309940;
$custom-light: #76b877;
$custom-dark: #000000;
JSON
{
  "hex": "#309940",
  "rgb": {
    "r": 48,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 129.143,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.15899,
    "h": 145.8
  },
  "luminance": 0.23781
}

Semantic roles & 50–950 ramp

primary
#309940
secondary
#BA6BAE
accent
#4CC6DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #309940

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

Preview Lab → · Contrast checker → · Palette generator →

#309940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva