#308B52#308B52

#308B52 is a mid, vivid green. Relative luminance 0.197; OKLCH L 56.8% C 0.123 H 152.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#308B52
RGBrgb(48, 139, 82)
HSLhsl(142, 49%, 37%)
HSVhsv(142, 65%, 55%)
CMYKcmyk(65.5%, 0%, 41%, 45.5%)
CIE-LABlab(51.50, -40.29, 22.80)
CIE-LCHlch(51.50, 46.29, 150.50°)
OKLaboklab(56.81% -0.1089 0.0567)
OKLCHoklch(56.81% 0.123 152.5)
XYZxyz(11.9736, 19.7016, 11.1528)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308B52 #8B3069
analogous
#3B8B30 #308B52 #308B80
triadic
#308B52 #52308B #8B5230
tetradic
#308B52 #303B8B #8B3069 #8B8030
square
#308B52 #303B8B #8B3069 #8B8030
split-complementary
#308B52 #80308B #8B303B
monochromatic
#11301C #205E37 #308B52 #40B86D #6ACC8E

Accessibility & contrast

On white

4.25
#308B52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#308B52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308B52
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308B52#FFFFFF#000000##000000
##308B521.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B804E
Deuteranopia (green-blind)
#7F7756
Tritanopia (blue-blind)
#07897D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #308b52;
/* rgb */ color: rgb(48, 139, 82);
/* oklch */ color: oklch(56.8% 0.123 152.5);
Tailwind
colors: {
  custom: {
    50: '#73ae83',
    500: '#308b52',
    950: '#000000',
  },
}
SCSS
$custom: #308b52;
$custom-light: #73ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#308b52",
  "rgb": {
    "r": 48,
    "g": 139,
    "b": 82
  },
  "hsl": {
    "h": 142.418,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.12277,
    "h": 152.5
  },
  "luminance": 0.19703
}

Semantic roles & 50–950 ramp

primary
#308B52
secondary
#B36495
accent
#50A5D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308B52

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

Preview Lab → · Contrast checker → · Palette generator →

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