#308B42#308B42

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

Color values

HEX#308B42
RGBrgb(48, 139, 66)
HSLhsl(132, 49%, 37%)
HSVhsv(132, 65%, 55%)
CMYKcmyk(65.5%, 0%, 52.5%, 45.5%)
CIE-LABlab(51.25, -43.05, 31.11)
CIE-LCHlch(51.25, 53.11, 144.15°)
OKLaboklab(56.53% -0.1162 0.0751)
OKLCHoklch(56.53% 0.138 147.1)
XYZxyz(11.4341, 19.4858, 8.3118)
Luminance0.1949 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B42 #8B3079
analogous
#4C8B30 #308B42 #308B70
triadic
#308B42 #42308B #8B4230
tetradic
#308B42 #304C8B #8B3079 #8B7030
square
#308B42 #304C8B #8B3079 #8B7030
split-complementary
#308B42 #70308B #8B304C
monochromatic
#113017 #205E2C #308B42 #40B858 #6ACC7D

Accessibility & contrast

On white

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

On black

4.90
#308B42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B42
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B42#FFFFFF#000000##000000
##308B421.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F3C
Deuteranopia (green-blind)
#817747
Tritanopia (blue-blind)
#15887A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308b42;
/* rgb */ color: rgb(48, 139, 66);
/* oklch */ color: oklch(56.5% 0.138 147.1);
Tailwind
colors: {
  custom: {
    50: '#73ae78',
    500: '#308b42',
    950: '#000000',
  },
}
SCSS
$custom: #308b42;
$custom-light: #73ae78;
$custom-dark: #000000;
JSON
{
  "hex": "#308b42",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 66
  },
  "hsl": {
    "h": 131.868,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56525,
    "c": 0.13839,
    "h": 147.1
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#308B42
secondary
#B364A3
accent
#50BDD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #308B42

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

Preview Lab → · Contrast checker → · Palette generator →

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