#308A54#308A54

#308A54 is a mid, moderate green. Relative luminance 0.194; OKLCH L 56.6% C 0.119 H 153.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#308A54
RGBrgb(48, 138, 84)
HSLhsl(144, 48%, 36%)
HSVhsv(144, 65%, 54%)
CMYKcmyk(65.2%, 0%, 39.1%, 45.9%)
CIE-LABlab(51.20, -39.49, 21.30)
CIE-LCHlch(51.20, 44.86, 151.66°)
OKLaboklab(56.58% -0.1068 0.0532)
OKLCHoklch(56.58% 0.119 153.5)
XYZxyz(11.9066, 19.4442, 11.5114)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308A54 #8A3066
analogous
#398A30 #308A54 #308A81
triadic
#308A54 #54308A #8A5430
tetradic
#308A54 #30398A #8A3066 #8A8130
square
#308A54 #30398A #8A3066 #8A8130
split-complementary
#308A54 #81308A #8A3039
monochromatic
#102F1D #205D38 #308A54 #40B770 #69CB90

Accessibility & contrast

On white

4.30
#308A54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#308A54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308A54
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308A54#FFFFFF#000000##000000
##308A541.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7F50
Deuteranopia (green-blind)
#7E7758
Tritanopia (blue-blind)
#06887C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #308a54;
/* rgb */ color: rgb(48, 138, 84);
/* oklch */ color: oklch(56.6% 0.119 153.5);
Tailwind
colors: {
  custom: {
    50: '#73ad84',
    500: '#308a54',
    950: '#000000',
  },
}
SCSS
$custom: #308a54;
$custom-light: #73ad84;
$custom-dark: #000000;
JSON
{
  "hex": "#308a54",
  "rgb": {
    "r": 48,
    "g": 138,
    "b": 84
  },
  "hsl": {
    "h": 144,
    "s": 48.387,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56578,
    "c": 0.11934,
    "h": 153.5
  },
  "luminance": 0.19445
}

Semantic roles & 50–950 ramp

primary
#308A54
secondary
#B26493
accent
#50A2D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #308A54

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

Preview Lab → · Contrast checker → · Palette generator →

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