#309C28#309C28

#309C28 is a mid, vivid green. Relative luminance 0.246; OKLCH L 60.9% C 0.180 H 142.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#309C28
RGBrgb(48, 156, 40)
HSLhsl(116, 59%, 38%)
HSVhsv(116, 74%, 61%)
CMYKcmyk(69.2%, 0%, 74.4%, 38.8%)
CIE-LABlab(56.64, -52.30, 48.98)
CIE-LCHlch(56.64, 71.66, 136.88°)
OKLaboklab(60.9% -0.1424 0.1108)
OKLCHoklch(60.9% 0.18 142.1)
XYZxyz(13.4896, 24.5571, 6.0362)
Luminance0.2456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309C28 #94289C
analogous
#6A9C28 #309C28 #289C5A
triadic
#309C28 #28309C #9C2830
tetradic
#309C28 #286A9C #94289C #9C5A28
square
#309C28 #286A9C #94289C #9C5A28
split-complementary
#309C28 #5A289C #9C286A
monochromatic
#123B0F #216B1C #309C28 #40CB36 #6ED867

Accessibility & contrast

On white

3.55
#309C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#309C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309C28
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309C28#FFFFFF#000000##000000
##309C281.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D12
Deuteranopia (green-blind)
#938534
Tritanopia (blue-blind)
#169785
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #309c28;
/* rgb */ color: rgb(48, 156, 40);
/* oklch */ color: oklch(60.9% 0.180 142.1);
Tailwind
colors: {
  custom: {
    50: '#78ba6a',
    500: '#309c28',
    950: '#000000',
  },
}
SCSS
$custom: #309c28;
$custom-light: #78ba6a;
$custom-dark: #000000;
JSON
{
  "hex": "#309c28",
  "rgb": {
    "r": 48,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 115.862,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60901,
    "c": 0.18045,
    "h": 142.1
  },
  "luminance": 0.24559
}

Semantic roles & 50–950 ramp

primary
#309C28
secondary
#B862BE
accent
#45E2D8
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309C28

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

Preview Lab → · Contrast checker → · Palette generator →

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