#309C5F#309C5F

#309C5F is a mid, vivid green. Relative luminance 0.252; OKLCH L 61.7% C 0.134 H 154.3°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#309C5F
RGBrgb(48, 156, 95)
HSLhsl(146, 53%, 40%)
HSVhsv(146, 69%, 61%)
CMYKcmyk(69.2%, 0%, 39.1%, 38.8%)
CIE-LABlab(57.30, -44.72, 23.33)
CIE-LCHlch(57.30, 50.43, 152.45°)
OKLaboklab(61.66% -0.1208 0.0582)
OKLCHoklch(61.66% 0.134 154.3)
XYZxyz(15.1716, 25.2299, 14.8945)
Luminance0.2523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309C5F #9C306D
analogous
#379C30 #309C5F #309C95
triadic
#309C5F #5F309C #9C5F30
tetradic
#309C5F #30379C #9C306D #9C9530
square
#309C5F #30379C #9C306D #9C9530
split-complementary
#309C5F #95309C #9C3037
monochromatic
#133E26 #226D42 #309C5F #44C57C #73D49D

Accessibility & contrast

On white

3.47
#309C5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#309C5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309C5F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309C5F#FFFFFF#000000##000000
##309C5F1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8F5B
Deuteranopia (green-blind)
#8E8663
Tritanopia (blue-blind)
#009A8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309c5f;
/* rgb */ color: rgb(48, 156, 95);
/* oklch */ color: oklch(61.7% 0.134 154.3);
Tailwind
colors: {
  custom: {
    50: '#76ba8d',
    500: '#309c5f',
    950: '#000000',
  },
}
SCSS
$custom: #309c5f;
$custom-light: #76ba8d;
$custom-dark: #000000;
JSON
{
  "hex": "#309c5f",
  "rgb": {
    "r": 48,
    "g": 156,
    "b": 95
  },
  "hsl": {
    "h": 146.111,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.61657,
    "c": 0.13413,
    "h": 154.3
  },
  "luminance": 0.25232
}

Semantic roles & 50–950 ramp

primary
#309C5F
secondary
#BC6C99
accent
#4B9DDC
background
#F7FBF8
surface
#EEF6F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #309C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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