#308248#308248

#308248 is a mid, moderate green. Relative luminance 0.171; OKLCH L 54.2% C 0.120 H 150.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#308248
RGBrgb(48, 130, 72)
HSLhsl(138, 46%, 35%)
HSVhsv(138, 63%, 51%)
CMYKcmyk(63.1%, 0%, 44.6%, 49%)
CIE-LABlab(48.34, -38.39, 24.20)
CIE-LCHlch(48.34, 45.38, 147.77°)
OKLaboklab(54.15% -0.1037 0.0597)
OKLCHoklch(54.15% 0.12 150.1)
XYZxyz(10.3705, 17.0605, 8.8761)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308248 #82306A
analogous
#418230 #308248 #308271
triadic
#308248 #483082 #824830
tetradic
#308248 #304182 #82306A #827130
square
#308248 #304182 #82306A #827130
split-complementary
#308248 #713082 #823041
monochromatic
#0F2916 #1F552F #308248 #41AF61 #66C682

Accessibility & contrast

On white

4.76
#308248 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#308248 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308248
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308248#FFFFFF#000000##FFFFFF
##3082481.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837744
Deuteranopia (green-blind)
#78704C
Tritanopia (blue-blind)
#178074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308248;
/* rgb */ color: rgb(48, 130, 72);
/* oklch */ color: oklch(54.2% 0.120 150.1);
Tailwind
colors: {
  custom: {
    50: '#71a77c',
    500: '#308248',
    950: '#000000',
  },
}
SCSS
$custom: #308248;
$custom-light: #71a77c;
$custom-dark: #000000;
JSON
{
  "hex": "#308248",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 72
  },
  "hsl": {
    "h": 137.561,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54153,
    "c": 0.11967,
    "h": 150.1
  },
  "luminance": 0.17062
}

Semantic roles & 50–950 ramp

primary
#308248
secondary
#AE6097
accent
#52AFD6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #308248

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

Preview Lab → · Contrast checker → · Palette generator →

#308248 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva