#309A40#309A40

#309A40 is a mid, vivid green. Relative luminance 0.241; OKLCH L 60.6% C 0.160 H 145.7°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#309A40
RGBrgb(48, 154, 64)
HSLhsl(129, 52%, 40%)
HSVhsv(129, 69%, 60%)
CMYKcmyk(68.8%, 0%, 58.4%, 39.6%)
CIE-LABlab(56.20, -49.04, 38.07)
CIE-LCHlch(56.20, 62.08, 142.18°)
OKLaboklab(60.6% -0.1325 0.0903)
OKLCHoklch(60.6% 0.16 145.7)
XYZxyz(13.6990, 24.1083, 8.7809)
Luminance0.2411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A40 #9A308A
analogous
#559A30 #309A40 #309A75
triadic
#309A40 #40309A #9A4030
tetradic
#309A40 #30559A #9A308A #9A7530
square
#309A40 #30559A #9A308A #9A7530
split-complementary
#309A40 #75309A #9A3055
monochromatic
#133D19 #216B2D #309A40 #43C456 #72D380

Accessibility & contrast

On white

3.61
#309A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#309A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309A40
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309A40#FFFFFF#000000##000000
##309A401.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C37
Deuteranopia (green-blind)
#908347
Tritanopia (blue-blind)
#0A9686
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #309a40;
/* rgb */ color: rgb(48, 154, 64);
/* oklch */ color: oklch(60.6% 0.160 145.7);
Tailwind
colors: {
  custom: {
    50: '#77b977',
    500: '#309a40',
    950: '#000000',
  },
}
SCSS
$custom: #309a40;
$custom-light: #77b977;
$custom-dark: #000000;
JSON
{
  "hex": "#309a40",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 64
  },
  "hsl": {
    "h": 129.057,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.60601,
    "c": 0.1603,
    "h": 145.7
  },
  "luminance": 0.2411
}

Semantic roles & 50–950 ramp

primary
#309A40
secondary
#BB6BAF
accent
#4CC6DC
background
#F7FBF7
surface
#EEF6ED
border
#C9D0C8
text
#0A1109
muted
#7C807B

Preview Lab

Preview with #309A40

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

Preview Lab → · Contrast checker → · Palette generator →

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