#309A28#309A28

#309A28 is a mid, vivid green. Relative luminance 0.239; OKLCH L 60.4% C 0.178 H 142.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#309A28
RGBrgb(48, 154, 40)
HSLhsl(116, 59%, 38%)
HSVhsv(116, 74%, 60%)
CMYKcmyk(68.8%, 0%, 74%, 39.6%)
CIE-LABlab(55.98, -51.61, 48.31)
CIE-LCHlch(55.98, 70.69, 136.89°)
OKLaboklab(60.35% -0.1405 0.1094)
OKLCHoklch(60.35% 0.178 142.1)
XYZxyz(13.1568, 23.8914, 5.9252)
Luminance0.2389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A28 #92289A
analogous
#699A28 #309A28 #289A59
triadic
#309A28 #28309A #9A2830
tetradic
#309A28 #28699A #92289A #9A5928
square
#309A28 #28699A #92289A #9A5928
split-complementary
#309A28 #59289A #9A2869
monochromatic
#12390F #21691B #309A28 #3FCA35 #6DD765

Accessibility & contrast

On white

3.63
#309A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#309A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309A28
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309A28#FFFFFF#000000##000000
##309A281.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B13
Deuteranopia (green-blind)
#918334
Tritanopia (blue-blind)
#179584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309a28;
/* rgb */ color: rgb(48, 154, 40);
/* oklch */ color: oklch(60.4% 0.178 142.1);
Tailwind
colors: {
  custom: {
    50: '#78b969',
    500: '#309a28',
    950: '#000000',
  },
}
SCSS
$custom: #309a28;
$custom-light: #78b969;
$custom-dark: #000000;
JSON
{
  "hex": "#309a28",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 115.789,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60351,
    "c": 0.17812,
    "h": 142.1
  },
  "luminance": 0.23893
}

Semantic roles & 50–950 ramp

primary
#309A28
secondary
#B761BD
accent
#46E2D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309A28

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

Preview Lab → · Contrast checker → · Palette generator →

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