#308E27#308E27

#308E27 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.164 H 141.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#308E27
RGBrgb(48, 142, 39)
HSLhsl(115, 57%, 35%)
HSVhsv(115, 73%, 56%)
CMYKcmyk(66.2%, 0%, 72.5%, 44.3%)
CIE-LABlab(51.97, -47.44, 44.59)
CIE-LCHlch(51.97, 65.10, 136.77°)
OKLaboklab(57.03% -0.1293 0.1015)
OKLCHoklch(57.03% 0.164 141.9)
XYZxyz(11.2575, 20.1197, 5.2093)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E27 #85278E
analogous
#638E27 #308E27 #278E51
triadic
#308E27 #27308E #8E2730
tetradic
#308E27 #27638E #85278E #8E5127
square
#308E27 #27638E #85278E #8E5127
split-complementary
#308E27 #51278E #8E2763
monochromatic
#102E0D #205E1A #308E27 #40BE34 #67D25D

Accessibility & contrast

On white

4.18
#308E27 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#308E27 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E27
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E27#FFFFFF#000000##000000
##308E271.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#918116
Deuteranopia (green-blind)
#867931
Tritanopia (blue-blind)
#1E8A7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e27;
/* rgb */ color: rgb(48, 142, 39);
/* oklch */ color: oklch(57.0% 0.164 141.9);
Tailwind
colors: {
  custom: {
    50: '#75b067',
    500: '#308e27',
    950: '#000000',
  },
}
SCSS
$custom: #308e27;
$custom-light: #75b067;
$custom-dark: #000000;
JSON
{
  "hex": "#308e27",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 39
  },
  "hsl": {
    "h": 114.757,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5703,
    "c": 0.16439,
    "h": 141.9
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#308E27
secondary
#AF59B8
accent
#48E0D3
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #308E27

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

Preview Lab → · Contrast checker → · Palette generator →

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