#308B5B#308B5B

#308B5B is a mid, moderate green. Relative luminance 0.198; OKLCH L 57.0% C 0.114 H 156.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#308B5B
RGBrgb(48, 139, 91)
HSLhsl(148, 49%, 37%)
HSVhsv(148, 65%, 55%)
CMYKcmyk(65.5%, 0%, 34.5%, 45.5%)
CIE-LABlab(51.66, -38.49, 17.99)
CIE-LCHlch(51.66, 42.48, 154.95°)
OKLaboklab(57% -0.1045 0.0454)
OKLCHoklch(57% 0.114 156.5)
XYZxyz(12.3388, 19.8477, 13.0762)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B5B #8B3060
analogous
#338B30 #308B5B #308B89
triadic
#308B5B #5B308B #8B5B30
tetradic
#308B5B #30338B #8B3060 #8B8930
square
#308B5B #30338B #8B3060 #8B8930
split-complementary
#308B5B #89308B #8B3033
monochromatic
#11301F #205E3D #308B5B #40B879 #6ACC98

Accessibility & contrast

On white

4.23
#308B5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#308B5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B5B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B5B#FFFFFF#000000##000000
##308B5B1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A8058
Deuteranopia (green-blind)
#7E785E
Tritanopia (blue-blind)
#008A7F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308b5b;
/* rgb */ color: rgb(48, 139, 91);
/* oklch */ color: oklch(57.0% 0.114 156.5);
Tailwind
colors: {
  custom: {
    50: '#73ae89',
    500: '#308b5b',
    950: '#000000',
  },
}
SCSS
$custom: #308b5b;
$custom-light: #73ae89;
$custom-dark: #000000;
JSON
{
  "hex": "#308b5b",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 91
  },
  "hsl": {
    "h": 148.352,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.57,
    "c": 0.11393,
    "h": 156.5
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#308B5B
secondary
#B3648E
accent
#5098D8
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #308B5B

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

Preview Lab → · Contrast checker → · Palette generator →

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