#308A27#308A27

#308A27 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.9% C 0.159 H 141.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#308A27
RGBrgb(48, 138, 39)
HSLhsl(115, 56%, 35%)
HSVhsv(115, 72%, 54%)
CMYKcmyk(65.2%, 0%, 71.7%, 45.9%)
CIE-LABlab(50.63, -45.97, 43.19)
CIE-LCHlch(50.63, 63.08, 136.79°)
OKLaboklab(55.92% -0.1253 0.0986)
OKLCHoklch(55.92% 0.159 141.8)
XYZxyz(10.6730, 18.9508, 5.0145)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A27 #81278A
analogous
#628A27 #308A27 #278A4F
triadic
#308A27 #27308A #8A2730
tetradic
#308A27 #27628A #81278A #8A4F27
square
#308A27 #27628A #81278A #8A4F27
split-complementary
#308A27 #4F278A #8A2762
monochromatic
#0F2B0C #1F5A1A #308A27 #41BA34 #66D15B

Accessibility & contrast

On white

4.38
#308A27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#308A27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A27
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A27#FFFFFF#000000##000000
##308A271.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D18
Deuteranopia (green-blind)
#827631
Tritanopia (blue-blind)
#1F8676
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308a27;
/* rgb */ color: rgb(48, 138, 39);
/* oklch */ color: oklch(55.9% 0.159 141.8);
Tailwind
colors: {
  custom: {
    50: '#74ad67',
    500: '#308a27',
    950: '#000000',
  },
}
SCSS
$custom: #308a27;
$custom-light: #74ad67;
$custom-dark: #000000;
JSON
{
  "hex": "#308a27",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 39
  },
  "hsl": {
    "h": 114.545,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55919,
    "c": 0.15947,
    "h": 141.8
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#308A27
secondary
#AD57B6
accent
#49DFD2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308A27

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

Preview Lab → · Contrast checker → · Palette generator →

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