#309F28#309F28

#309F28 is a mid, vivid green. Relative luminance 0.256; OKLCH L 61.7% C 0.184 H 142.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#309F28
RGBrgb(48, 159, 40)
HSLhsl(116, 60%, 39%)
HSVhsv(116, 75%, 62%)
CMYKcmyk(69.8%, 0%, 74.8%, 37.6%)
CIE-LABlab(57.63, -53.33, 49.98)
CIE-LCHlch(57.63, 73.09, 136.85°)
OKLaboklab(61.72% -0.1452 0.1129)
OKLCHoklch(61.72% 0.184 142.1)
XYZxyz(13.9993, 25.5764, 6.2060)
Luminance0.2558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309F28 #97289F
analogous
#6C9F28 #309F28 #289F5C
triadic
#309F28 #28309F #9F2830
tetradic
#309F28 #286C9F #97289F #9F5C28
square
#309F28 #286C9F #97289F #9F5C28
split-complementary
#309F28 #5C289F #9F286C
monochromatic
#123D0F #216E1C #309F28 #41CD37 #70D968

Accessibility & contrast

On white

3.43
#309F28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#309F28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309F28
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309F28#FFFFFF#000000##000000
##309F281.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39011
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#139A88
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #309f28;
/* rgb */ color: rgb(48, 159, 40);
/* oklch */ color: oklch(61.7% 0.184 142.1);
Tailwind
colors: {
  custom: {
    50: '#79bc6a',
    500: '#309f28',
    950: '#000000',
  },
}
SCSS
$custom: #309f28;
$custom-light: #79bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#309f28",
  "rgb": {
    "r": 48,
    "g": 159,
    "b": 40
  },
  "hsl": {
    "h": 115.966,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.61723,
    "c": 0.18394,
    "h": 142.1
  },
  "luminance": 0.25578
}

Semantic roles & 50–950 ramp

primary
#309F28
secondary
#B964BF
accent
#45E3D8
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309F28

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

Preview Lab → · Contrast checker → · Palette generator →

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