#308C27#308C27

#308C27 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.162 H 141.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#308C27
RGBrgb(48, 140, 39)
HSLhsl(115, 56%, 35%)
HSVhsv(115, 72%, 55%)
CMYKcmyk(65.7%, 0%, 72.1%, 45.1%)
CIE-LABlab(51.30, -46.71, 43.89)
CIE-LCHlch(51.30, 64.09, 136.78°)
OKLaboklab(56.47% -0.1273 0.1001)
OKLCHoklch(56.47% 0.162 141.8)
XYZxyz(10.9626, 19.5299, 5.1110)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308C27 #83278C
analogous
#638C27 #308C27 #278C50
triadic
#308C27 #27308C #8C2730
tetradic
#308C27 #27638C #83278C #8C5027
square
#308C27 #27638C #83278C #8C5027
split-complementary
#308C27 #50278C #8C2763
monochromatic
#0F2C0C #205C1A #308C27 #40BC34 #66D25C

Accessibility & contrast

On white

4.28
#308C27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#308C27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308C27
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308C27#FFFFFF#000000##000000
##308C271.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F17
Deuteranopia (green-blind)
#847731
Tritanopia (blue-blind)
#1F8878
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308c27;
/* rgb */ color: rgb(48, 140, 39);
/* oklch */ color: oklch(56.5% 0.162 141.8);
Tailwind
colors: {
  custom: {
    50: '#75ae67',
    500: '#308c27',
    950: '#000000',
  },
}
SCSS
$custom: #308c27;
$custom-light: #75ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#308c27",
  "rgb": {
    "r": 48,
    "g": 140,
    "b": 39
  },
  "hsl": {
    "h": 114.653,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56475,
    "c": 0.16194,
    "h": 141.8
  },
  "luminance": 0.19531
}

Semantic roles & 50–950 ramp

primary
#308C27
secondary
#AE58B7
accent
#48E0D2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308C27

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

Preview Lab → · Contrast checker → · Palette generator →

#308C27 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva