#308D40#308D40

#308D40 is a mid, vivid green. Relative luminance 0.200; OKLCH L 57.0% C 0.143 H 146.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#308D40
RGBrgb(48, 141, 64)
HSLhsl(130, 49%, 37%)
HSVhsv(130, 66%, 55%)
CMYKcmyk(66%, 0%, 54.6%, 44.7%)
CIE-LABlab(51.89, -44.13, 32.92)
CIE-LCHlch(51.89, 55.06, 143.27°)
OKLaboklab(57.04% -0.1192 0.079)
OKLCHoklch(57.04% 0.143 146.5)
XYZxyz(11.6684, 20.0471, 8.1040)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D40 #8D307D
analogous
#4E8D30 #308D40 #308D6F
triadic
#308D40 #40308D #8D4030
tetradic
#308D40 #304E8D #8D307D #8D6F30
square
#308D40 #304E8D #8D307D #8D6F30
split-complementary
#308D40 #6F308D #8D304E
monochromatic
#113217 #205F2B #308D40 #40BB55 #6BCD7C

Accessibility & contrast

On white

4.19
#308D40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#308D40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D40
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D40#FFFFFF#000000##000000
##308D401.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#837946
Tritanopia (blue-blind)
#158A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308d40;
/* rgb */ color: rgb(48, 141, 64);
/* oklch */ color: oklch(57.0% 0.143 146.5);
Tailwind
colors: {
  custom: {
    50: '#74af77',
    500: '#308d40',
    950: '#000000',
  },
}
SCSS
$custom: #308d40;
$custom-light: #74af77;
$custom-dark: #000000;
JSON
{
  "hex": "#308d40",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 64
  },
  "hsl": {
    "h": 130.323,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.14302,
    "h": 146.5
  },
  "luminance": 0.20048
}

Semantic roles & 50–950 ramp

primary
#308D40
secondary
#B465A6
accent
#4FC1D9
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308D40

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

Preview Lab → · Contrast checker → · Palette generator →

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