#308F31#308F31

#308F31 is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.4% C 0.158 H 143.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#308F31
RGBrgb(48, 143, 49)
HSLhsl(121, 50%, 37%)
HSVhsv(121, 66%, 56%)
CMYKcmyk(66.4%, 0%, 65.7%, 43.9%)
CIE-LABlab(52.39, -46.81, 40.77)
CIE-LCHlch(52.39, 62.07, 138.95°)
OKLaboklab(57.4% -0.1271 0.0947)
OKLCHoklch(57.4% 0.158 143.3)
XYZxyz(11.5951, 20.4939, 6.2498)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F31 #8F308E
analogous
#5E8F30 #308F31 #308F61
triadic
#308F31 #31308F #8F3130
tetradic
#308F31 #305E8F #8F308E #8F6130
square
#308F31 #305E8F #8F308E #8F6130
split-complementary
#308F31 #61308F #8F305E
monochromatic
#113312 #216121 #308F31 #3FBD41 #6CCE6D

Accessibility & contrast

On white

4.12
#308F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#308F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F31
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F31#FFFFFF#000000##000000
##308F311.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928226
Deuteranopia (green-blind)
#867A39
Tritanopia (blue-blind)
#1A8B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #308f31;
/* rgb */ color: rgb(48, 143, 49);
/* oklch */ color: oklch(57.4% 0.158 143.3);
Tailwind
colors: {
  custom: {
    50: '#75b16d',
    500: '#308f31',
    950: '#000000',
  },
}
SCSS
$custom: #308f31;
$custom-light: #75b16d;
$custom-dark: #000000;
JSON
{
  "hex": "#308f31",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 49
  },
  "hsl": {
    "h": 120.632,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57404,
    "c": 0.15846,
    "h": 143.3
  },
  "luminance": 0.20495
}

Semantic roles & 50–950 ramp

primary
#308F31
secondary
#B566B4
accent
#4FD8D9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #308F31

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

Preview Lab → · Contrast checker → · Palette generator →

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