#309F40#309F40

#309F40 is a mid, vivid green. Relative luminance 0.258; OKLCH L 62.0% C 0.167 H 145.5°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#309F40
RGBrgb(48, 159, 64)
HSLhsl(129, 54%, 41%)
HSVhsv(129, 70%, 62%)
CMYKcmyk(69.8%, 0%, 59.7%, 37.6%)
CIE-LABlab(57.84, -50.86, 39.99)
CIE-LCHlch(57.84, 64.70, 141.82°)
OKLaboklab(61.96% -0.1374 0.0945)
OKLCHoklch(61.96% 0.167 145.5)
XYZxyz(14.5415, 25.7932, 9.0617)
Luminance0.2580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F40 #9F308F
analogous
#579F30 #309F40 #309F77
triadic
#309F40 #40309F #9F4030
tetradic
#309F40 #30579F #9F308F #9F7730
square
#309F40 #30579F #9F308F #9F7730
split-complementary
#309F40 #77309F #9F3057
monochromatic
#14411A #22702D #309F40 #45C758 #74D582

Accessibility & contrast

On white

3.41
#309F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#309F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309F40
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309F40#FFFFFF#000000##000000
##309F401.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29136
Deuteranopia (green-blind)
#948748
Tritanopia (blue-blind)
#049B8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #309f40;
/* rgb */ color: rgb(48, 159, 64);
/* oklch */ color: oklch(62.0% 0.167 145.5);
Tailwind
colors: {
  custom: {
    50: '#78bc78',
    500: '#309f40',
    950: '#000000',
  },
}
SCSS
$custom: #309f40;
$custom-light: #78bc78;
$custom-dark: #000000;
JSON
{
  "hex": "#309f40",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 64
  },
  "hsl": {
    "h": 128.649,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.61961,
    "c": 0.16671,
    "h": 145.5
  },
  "luminance": 0.25795
}

Semantic roles & 50–950 ramp

primary
#309F40
secondary
#BD6EB2
accent
#4BC8DD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #309F40

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

Preview Lab → · Contrast checker → · Palette generator →

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