#309A27#309A27

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

Color values

HEX#309A27
RGBrgb(48, 154, 39)
HSLhsl(115, 60%, 38%)
HSVhsv(115, 75%, 60%)
CMYKcmyk(68.8%, 0%, 74.7%, 39.6%)
CIE-LABlab(55.97, -51.69, 48.68)
CIE-LCHlch(55.97, 71.00, 136.72°)
OKLaboklab(60.34% -0.1408 0.1101)
OKLCHoklch(60.34% 0.179 142)
XYZxyz(13.1400, 23.8847, 5.8368)
Luminance0.2389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309A27 #91279A
analogous
#6A9A27 #309A27 #279A57
triadic
#309A27 #27309A #9A2730
tetradic
#309A27 #276A9A #91279A #9A5727
square
#309A27 #276A9A #91279A #9A5727
split-complementary
#309A27 #57279A #9A276A
monochromatic
#12380E #21691B #309A27 #3FCB33 #6DD864

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##309A27#FFFFFF#000000##000000
##309A271.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)
#9E8B11
Deuteranopia (green-blind)
#918333
Tritanopia (blue-blind)
#179584
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #309a27;
/* rgb */ color: rgb(48, 154, 39);
/* oklch */ color: oklch(60.3% 0.179 142.0);
Tailwind
colors: {
  custom: {
    50: '#78b969',
    500: '#309a27',
    950: '#000000',
  },
}
SCSS
$custom: #309a27;
$custom-light: #78b969;
$custom-dark: #000000;
JSON
{
  "hex": "#309a27",
  "rgb": {
    "r": 48,
    "g": 154,
    "b": 39
  },
  "hsl": {
    "h": 115.304,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.60344,
    "c": 0.17872,
    "h": 142
  },
  "luminance": 0.23886
}

Semantic roles & 50–950 ramp

primary
#309A27
secondary
#B65FBD
accent
#45E3D6
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #309A27

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

Preview Lab → · Contrast checker → · Palette generator →

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