#309B27#309B27

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

Color values

HEX#309B27
RGBrgb(48, 155, 39)
HSLhsl(115, 60%, 38%)
HSVhsv(115, 75%, 61%)
CMYKcmyk(69%, 0%, 74.8%, 39.2%)
CIE-LABlab(56.30, -52.03, 49.01)
CIE-LCHlch(56.30, 71.48, 136.71°)
OKLaboklab(60.62% -0.1417 0.1108)
OKLCHoklch(60.62% 0.18 142)
XYZxyz(13.3057, 24.2161, 5.8920)
Luminance0.2422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309B27 #92279B
analogous
#6A9B27 #309B27 #279B58
triadic
#309B27 #27309B #9B2730
tetradic
#309B27 #276A9B #92279B #9B5827
square
#309B27 #276A9B #92279B #9B5827
split-complementary
#309B27 #58279B #9B276A
monochromatic
#12390E #216A1B #309B27 #3FCC33 #6DD864

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309B27#FFFFFF#000000##000000
##309B271.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)
#9F8C11
Deuteranopia (green-blind)
#928433
Tritanopia (blue-blind)
#179685
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #309b27;
/* rgb */ color: rgb(48, 155, 39);
/* oklch */ color: oklch(60.6% 0.180 142.0);
Tailwind
colors: {
  custom: {
    50: '#78b969',
    500: '#309b27',
    950: '#000000',
  },
}
SCSS
$custom: #309b27;
$custom-light: #78b969;
$custom-dark: #000000;
JSON
{
  "hex": "#309b27",
  "rgb": {
    "r": 48,
    "g": 155,
    "b": 39
  },
  "hsl": {
    "h": 115.345,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60618,
    "c": 0.17989,
    "h": 142
  },
  "luminance": 0.24218
}

Semantic roles & 50–950 ramp

primary
#309B27
secondary
#B760BE
accent
#45E3D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309B27

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

Preview Lab → · Contrast checker → · Palette generator →

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