#309D27#309D27

#309D27 is a mid, vivid green. Relative luminance 0.249; OKLCH L 61.2% C 0.182 H 142.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#309D27
RGBrgb(48, 157, 39)
HSLhsl(115, 60%, 38%)
HSVhsv(115, 75%, 62%)
CMYKcmyk(69.4%, 0%, 75.2%, 38.4%)
CIE-LABlab(56.97, -52.72, 49.68)
CIE-LCHlch(56.97, 72.44, 136.70°)
OKLaboklab(61.17% -0.1436 0.1122)
OKLCHoklch(61.17% 0.182 142)
XYZxyz(13.6413, 24.8874, 6.0039)
Luminance0.2489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#309D27 #94279D
analogous
#6B9D27 #309D27 #279D59
triadic
#309D27 #27309D #9D2730
tetradic
#309D27 #276B9D #94279D #9D5927
square
#309D27 #276B9D #94279D #9D5927
split-complementary
#309D27 #59279D #9D276B
monochromatic
#123B0F #216C1B #309D27 #40CD35 #6ED966

Accessibility & contrast

On white

3.51
#309D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#309D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #309D27
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##309D27#FFFFFF#000000##000000
##309D271.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E10
Deuteranopia (green-blind)
#948534
Tritanopia (blue-blind)
#159886
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #309d27;
/* rgb */ color: rgb(48, 157, 39);
/* oklch */ color: oklch(61.2% 0.182 142.0);
Tailwind
colors: {
  custom: {
    50: '#79bb69',
    500: '#309d27',
    950: '#000000',
  },
}
SCSS
$custom: #309d27;
$custom-light: #79bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#309d27",
  "rgb": {
    "r": 48,
    "g": 157,
    "b": 39
  },
  "hsl": {
    "h": 115.424,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.18221,
    "h": 142
  },
  "luminance": 0.24889
}

Semantic roles & 50–950 ramp

primary
#309D27
secondary
#B861BF
accent
#44E3D7
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #309D27

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

Preview Lab → · Contrast checker → · Palette generator →

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