#308D27#308D27

#308D27 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.163 H 141.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308D27
RGBrgb(48, 141, 39)
HSLhsl(115, 57%, 35%)
HSVhsv(115, 72%, 55%)
CMYKcmyk(66%, 0%, 72.3%, 44.7%)
CIE-LABlab(51.64, -47.07, 44.24)
CIE-LCHlch(51.64, 64.60, 136.78°)
OKLaboklab(56.75% -0.1283 0.1008)
OKLCHoklch(56.75% 0.163 141.9)
XYZxyz(11.1094, 19.8235, 5.1599)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D27 #84278D
analogous
#638D27 #308D27 #278D51
triadic
#308D27 #27308D #8D2730
tetradic
#308D27 #27638D #84278D #8D5127
square
#308D27 #27638D #84278D #8D5127
split-complementary
#308D27 #51278D #8D2763
monochromatic
#0F2D0C #205D1A #308D27 #40BD34 #67D25C

Accessibility & contrast

On white

4.23
#308D27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#308D27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D27
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D27#FFFFFF#000000##000000
##308D271.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908017
Deuteranopia (green-blind)
#857831
Tritanopia (blue-blind)
#1E8979
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d27;
/* rgb */ color: rgb(48, 141, 39);
/* oklch */ color: oklch(56.8% 0.163 141.9);
Tailwind
colors: {
  custom: {
    50: '#75af67',
    500: '#308d27',
    950: '#000000',
  },
}
SCSS
$custom: #308d27;
$custom-light: #75af67;
$custom-dark: #000000;
JSON
{
  "hex": "#308d27",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 39
  },
  "hsl": {
    "h": 114.706,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56753,
    "c": 0.16316,
    "h": 141.9
  },
  "luminance": 0.19825
}

Semantic roles & 50–950 ramp

primary
#308D27
secondary
#AF59B7
accent
#48E0D3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #308D27

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

Preview Lab → · Contrast checker → · Palette generator →

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