#308D52#308D52

#308D52 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.126 H 152.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#308D52
RGBrgb(48, 141, 82)
HSLhsl(142, 49%, 37%)
HSVhsv(142, 66%, 55%)
CMYKcmyk(66%, 0%, 41.8%, 44.7%)
CIE-LABlab(52.16, -41.12, 23.67)
CIE-LCHlch(52.16, 47.44, 150.08°)
OKLaboklab(57.35% -0.1111 0.0587)
OKLCHoklch(57.35% 0.126 152.1)
XYZxyz(12.2658, 20.2861, 11.2502)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308D52 #8D306B
analogous
#3D8D30 #308D52 #308D80
triadic
#308D52 #52308D #8D5230
tetradic
#308D52 #303D8D #8D306B #8D8030
square
#308D52 #303D8D #8D306B #8D8030
split-complementary
#308D52 #80308D #8D303D
monochromatic
#11321D #205F37 #308D52 #40BB6D #6BCD8F

Accessibility & contrast

On white

4.15
#308D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#308D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308D52
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308D52#FFFFFF#000000##000000
##308D521.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D814E
Deuteranopia (green-blind)
#817956
Tritanopia (blue-blind)
#058B7E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #308d52;
/* rgb */ color: rgb(48, 141, 82);
/* oklch */ color: oklch(57.4% 0.126 152.1);
Tailwind
colors: {
  custom: {
    50: '#73af83',
    500: '#308d52',
    950: '#000000',
  },
}
SCSS
$custom: #308d52;
$custom-light: #73af83;
$custom-dark: #000000;
JSON
{
  "hex": "#308d52",
  "rgb": {
    "r": 48,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 141.935,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.57353,
    "c": 0.12564,
    "h": 152.1
  },
  "luminance": 0.20287
}

Semantic roles & 50–950 ramp

primary
#308D52
secondary
#B46597
accent
#4FA6D9
background
#F7FAF8
surface
#EDF5EF
border
#C8CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308D52

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

Preview Lab → · Contrast checker → · Palette generator →

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