#308F5B#308F5B

#308F5B is a mid, moderate green. Relative luminance 0.210; OKLCH L 58.1% C 0.120 H 155.5°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#308F5B
RGBrgb(48, 143, 91)
HSLhsl(147, 50%, 37%)
HSVhsv(147, 66%, 56%)
CMYKcmyk(66.4%, 0%, 36.4%, 43.9%)
CIE-LABlab(52.98, -40.18, 19.76)
CIE-LCHlch(52.98, 44.78, 153.81°)
OKLaboklab(58.08% -0.1089 0.0496)
OKLCHoklch(58.08% 0.12 155.5)
XYZxyz(12.9286, 21.0273, 13.2728)
Luminance0.2103 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F5B #8F3064
analogous
#358F30 #308F5B #308F8B
triadic
#308F5B #5B308F #8F5B30
tetradic
#308F5B #30358F #8F3064 #8F8B30
square
#308F5B #30358F #8F3064 #8F8B30
split-complementary
#308F5B #8B308F #8F3035
monochromatic
#113321 #21613E #308F5B #3FBD78 #6CCE98

Accessibility & contrast

On white

4.03
#308F5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#308F5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F5B
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F5B#FFFFFF#000000##000000
##308F5B1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8458
Deuteranopia (green-blind)
#827B5E
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f5b;
/* rgb */ color: rgb(48, 143, 91);
/* oklch */ color: oklch(58.1% 0.120 155.5);
Tailwind
colors: {
  custom: {
    50: '#74b089',
    500: '#308f5b',
    950: '#000000',
  },
}
SCSS
$custom: #308f5b;
$custom-light: #74b089;
$custom-dark: #000000;
JSON
{
  "hex": "#308f5b",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 91
  },
  "hsl": {
    "h": 147.158,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.11968,
    "h": 155.5
  },
  "luminance": 0.21029
}

Semantic roles & 50–950 ramp

primary
#308F5B
secondary
#B56691
accent
#4F9AD9
background
#F7FAF8
surface
#EDF5F0
border
#C8CFCB
text
#09110B
muted
#7B807C

Preview Lab

Preview with #308F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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