#308E31#308E31

#308E31 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.157 H 143.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#308E31
RGBrgb(48, 142, 49)
HSLhsl(121, 49%, 37%)
HSVhsv(121, 66%, 56%)
CMYKcmyk(66.2%, 0%, 65.5%, 44.3%)
CIE-LABlab(52.06, -46.44, 40.40)
CIE-LCHlch(52.06, 61.55, 138.98°)
OKLaboklab(57.13% -0.1261 0.0939)
OKLCHoklch(57.13% 0.157 143.3)
XYZxyz(11.4456, 20.1950, 6.2000)
Luminance0.2020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308E31 #8E308D
analogous
#5E8E30 #308E31 #308E60
triadic
#308E31 #31308E #8E3130
tetradic
#308E31 #305E8E #8E308D #8E6030
square
#308E31 #305E8E #8E308D #8E6030
split-complementary
#308E31 #60308E #8E305E
monochromatic
#113311 #216021 #308E31 #3FBC41 #6BCD6C

Accessibility & contrast

On white

4.17
#308E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#308E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308E31
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308E31#FFFFFF#000000##000000
##308E311.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#867939
Tritanopia (blue-blind)
#1B8A7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308e31;
/* rgb */ color: rgb(48, 142, 49);
/* oklch */ color: oklch(57.1% 0.157 143.3);
Tailwind
colors: {
  custom: {
    50: '#75b06d',
    500: '#308e31',
    950: '#000000',
  },
}
SCSS
$custom: #308e31;
$custom-light: #75b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#308e31",
  "rgb": {
    "r": 48,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 120.638,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57127,
    "c": 0.15719,
    "h": 143.3
  },
  "luminance": 0.20196
}

Semantic roles & 50–950 ramp

primary
#308E31
secondary
#B465B4
accent
#4FD8D9
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091107
muted
#7B807A

Preview Lab

Preview with #308E31

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

Preview Lab → · Contrast checker → · Palette generator →

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