#308B40#308B40

#308B40 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.140 H 146.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#308B40
RGBrgb(48, 139, 64)
HSLhsl(131, 49%, 37%)
HSVhsv(131, 65%, 55%)
CMYKcmyk(65.5%, 0%, 54%, 45.5%)
CIE-LABlab(51.22, -43.35, 32.11)
CIE-LCHlch(51.22, 53.95, 143.47°)
OKLaboklab(56.49% -0.1171 0.0772)
OKLCHoklch(56.49% 0.14 146.6)
XYZxyz(11.3762, 19.4626, 8.0066)
Luminance0.1946 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B40 #8B307B
analogous
#4E8B30 #308B40 #308B6E
triadic
#308B40 #40308B #8B4030
tetradic
#308B40 #304E8B #8B307B #8B6E30
square
#308B40 #304E8B #8B307B #8B6E30
split-complementary
#308B40 #6E308B #8B304E
monochromatic
#113016 #205E2B #308B40 #40B855 #6ACC7B

Accessibility & contrast

On white

4.29
#308B40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#308B40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B40
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B40#FFFFFF#000000##000000
##308B401.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F39
Deuteranopia (green-blind)
#827746
Tritanopia (blue-blind)
#16887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b40;
/* rgb */ color: rgb(48, 139, 64);
/* oklch */ color: oklch(56.5% 0.140 146.6);
Tailwind
colors: {
  custom: {
    50: '#73ae77',
    500: '#308b40',
    950: '#000000',
  },
}
SCSS
$custom: #308b40;
$custom-light: #73ae77;
$custom-dark: #000000;
JSON
{
  "hex": "#308b40",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 64
  },
  "hsl": {
    "h": 130.549,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56494,
    "c": 0.14028,
    "h": 146.6
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#308B40
secondary
#B364A5
accent
#50C0D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308B40

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

Preview Lab → · Contrast checker → · Palette generator →

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