#308F52#308F52

#308F52 is a mid, vivid green. Relative luminance 0.209; OKLCH L 57.9% C 0.129 H 151.8°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#308F52
RGBrgb(48, 143, 82)
HSLhsl(141, 50%, 37%)
HSVhsv(141, 66%, 56%)
CMYKcmyk(66.4%, 0%, 42.7%, 43.9%)
CIE-LABlab(52.82, -41.94, 24.53)
CIE-LCHlch(52.82, 48.58, 149.68°)
OKLaboklab(57.9% -0.1132 0.0608)
OKLCHoklch(57.9% 0.129 151.8)
XYZxyz(12.5634, 20.8812, 11.3494)
Luminance0.2088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308F52 #8F306D
analogous
#3D8F30 #308F52 #308F82
triadic
#308F52 #52308F #8F5230
tetradic
#308F52 #303D8F #8F306D #8F8230
square
#308F52 #303D8F #8F306D #8F8230
split-complementary
#308F52 #82308F #8F303D
monochromatic
#11331D #216138 #308F52 #3FBD6C #6CCE8F

Accessibility & contrast

On white

4.06
#308F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#308F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308F52
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308F52#FFFFFF#000000##000000
##308F521.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#837B56
Tritanopia (blue-blind)
#038D80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #308f52;
/* rgb */ color: rgb(48, 143, 82);
/* oklch */ color: oklch(57.9% 0.129 151.8);
Tailwind
colors: {
  custom: {
    50: '#74b183',
    500: '#308f52',
    950: '#000000',
  },
}
SCSS
$custom: #308f52;
$custom-light: #74b183;
$custom-dark: #000000;
JSON
{
  "hex": "#308f52",
  "rgb": {
    "r": 48,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 141.474,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57896,
    "c": 0.1285,
    "h": 151.8
  },
  "luminance": 0.20882
}

Semantic roles & 50–950 ramp

primary
#308F52
secondary
#B56699
accent
#4FA8D9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #308F52

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

Preview Lab → · Contrast checker → · Palette generator →

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