#308F27#308F27

#308F27 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.166 H 141.9°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#308F27
RGBrgb(48, 143, 39)
HSLhsl(115, 57%, 36%)
HSVhsv(115, 73%, 56%)
CMYKcmyk(66.4%, 0%, 72.7%, 43.9%)
CIE-LABlab(52.31, -47.80, 44.93)
CIE-LCHlch(52.31, 65.60, 136.77°)
OKLaboklab(57.31% -0.1303 0.1022)
OKLCHoklch(57.31% 0.166 141.9)
XYZxyz(11.4070, 20.4186, 5.2591)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F27 #86278F
analogous
#648F27 #308F27 #278F52
triadic
#308F27 #27308F #8F2730
tetradic
#308F27 #27648F #86278F #8F5227
square
#308F27 #27648F #86278F #8F5227
split-complementary
#308F27 #52278F #8F2764
monochromatic
#102F0D #205F1A #308F27 #40BF34 #68D35D

Accessibility & contrast

On white

4.13
#308F27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#308F27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F27
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F27#FFFFFF#000000##000000
##308F271.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#877A31
Tritanopia (blue-blind)
#1D8B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f27;
/* rgb */ color: rgb(48, 143, 39);
/* oklch */ color: oklch(57.3% 0.166 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b168',
    500: '#308f27',
    950: '#000000',
  },
}
SCSS
$custom: #308f27;
$custom-light: #75b168;
$custom-dark: #000000;
JSON
{
  "hex": "#308f27",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 39
  },
  "hsl": {
    "h": 114.808,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.57307,
    "c": 0.16562,
    "h": 141.9
  },
  "luminance": 0.2042
}

Semantic roles & 50–950 ramp

primary
#308F27
secondary
#B05AB8
accent
#47E0D3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308F27

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

Preview Lab → · Contrast checker → · Palette generator →

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