#309B28#309B28

#309B28 is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.179 H 142.1°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#309B28
RGBrgb(48, 155, 40)
HSLhsl(116, 59%, 38%)
HSVhsv(116, 74%, 61%)
CMYKcmyk(69%, 0%, 74.2%, 39.2%)
CIE-LABlab(56.31, -51.95, 48.65)
CIE-LCHlch(56.31, 71.17, 136.88°)
OKLaboklab(60.63% -0.1415 0.1101)
OKLCHoklch(60.63% 0.179 142.1)
XYZxyz(13.3225, 24.2229, 5.9804)
Luminance0.2422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309B28 #93289B
analogous
#699B28 #309B28 #289B59
triadic
#309B28 #28309B #9B2830
tetradic
#309B28 #28699B #93289B #9B5928
square
#309B28 #28699B #93289B #9B5928
split-complementary
#309B28 #59289B #9B2869
monochromatic
#123A0F #216A1B #309B28 #40CB35 #6ED766

Accessibility & contrast

On white

3.59
#309B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#309B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309B28
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309B28#FFFFFF#000000##000000
##309B281.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C13
Deuteranopia (green-blind)
#928434
Tritanopia (blue-blind)
#169685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #309b28;
/* rgb */ color: rgb(48, 155, 40);
/* oklch */ color: oklch(60.6% 0.179 142.1);
Tailwind
colors: {
  custom: {
    50: '#78b96a',
    500: '#309b28',
    950: '#000000',
  },
}
SCSS
$custom: #309b28;
$custom-light: #78b96a;
$custom-dark: #000000;
JSON
{
  "hex": "#309b28",
  "rgb": {
    "r": 48,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 115.826,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.60626,
    "c": 0.17929,
    "h": 142.1
  },
  "luminance": 0.24224
}

Semantic roles & 50–950 ramp

primary
#309B28
secondary
#B761BD
accent
#46E2D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309B28

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

Preview Lab → · Contrast checker → · Palette generator →

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