#308D31#308D31

#308D31 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.9% C 0.156 H 143.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#308D31
RGBrgb(48, 141, 49)
HSLhsl(121, 49%, 37%)
HSVhsv(121, 66%, 55%)
CMYKcmyk(66%, 0%, 65.2%, 44.7%)
CIE-LABlab(51.72, -46.07, 40.02)
CIE-LCHlch(51.72, 61.03, 139.02°)
OKLaboklab(56.85% -0.1251 0.0931)
OKLCHoklch(56.85% 0.156 143.3)
XYZxyz(11.2975, 19.8987, 6.1506)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D31 #8D308C
analogous
#5E8D30 #308D31 #308D60
triadic
#308D31 #31308D #8D3130
tetradic
#308D31 #305E8D #8D308C #8D6030
square
#308D31 #305E8D #8D308C #8D6030
split-complementary
#308D31 #60308D #8D305E
monochromatic
#113211 #205F21 #308D31 #40BB41 #6BCD6C

Accessibility & contrast

On white

4.22
#308D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#308D31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D31
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D31#FFFFFF#000000##000000
##308D311.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#857839
Tritanopia (blue-blind)
#1B897A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308d31;
/* rgb */ color: rgb(48, 141, 49);
/* oklch */ color: oklch(56.9% 0.156 143.3);
Tailwind
colors: {
  custom: {
    50: '#75af6d',
    500: '#308d31',
    950: '#000000',
  },
}
SCSS
$custom: #308d31;
$custom-light: #75af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#308d31",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 120.645,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.56851,
    "c": 0.15591,
    "h": 143.3
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#308D31
secondary
#B465B3
accent
#4FD7D9
background
#F7FAF6
surface
#EDF5EC
border
#C8CFC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308D31

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

Preview Lab → · Contrast checker → · Palette generator →

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