#308952#308952

#308952 is a mid, moderate green. Relative luminance 0.191; OKLCH L 56.3% C 0.120 H 152.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#308952
RGBrgb(48, 137, 82)
HSLhsl(143, 48%, 36%)
HSVhsv(143, 65%, 54%)
CMYKcmyk(65%, 0%, 40.1%, 46.3%)
CIE-LABlab(50.84, -39.46, 21.93)
CIE-LCHlch(50.84, 45.14, 150.94°)
OKLaboklab(56.27% -0.1067 0.0546)
OKLCHoklch(56.27% 0.12 152.9)
XYZxyz(11.6866, 19.1277, 11.0571)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308952 #893067
analogous
#3B8930 #308952 #30897F
triadic
#308952 #523089 #895230
tetradic
#308952 #303B89 #893067 #897F30
square
#308952 #303B89 #893067 #897F30
split-complementary
#308952 #7F3089 #89303B
monochromatic
#102E1C #205C37 #308952 #40B66D #69CA8E

Accessibility & contrast

On white

4.35
#308952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#308952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308952
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308952#FFFFFF#000000##000000
##3089521.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4E
Deuteranopia (green-blind)
#7E7656
Tritanopia (blue-blind)
#09877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308952;
/* rgb */ color: rgb(48, 137, 82);
/* oklch */ color: oklch(56.3% 0.120 152.9);
Tailwind
colors: {
  custom: {
    50: '#73ac83',
    500: '#308952',
    950: '#000000',
  },
}
SCSS
$custom: #308952;
$custom-light: #73ac83;
$custom-dark: #000000;
JSON
{
  "hex": "#308952",
  "rgb": {
    "r": 48,
    "g": 137,
    "b": 82
  },
  "hsl": {
    "h": 142.921,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.11988,
    "h": 152.9
  },
  "luminance": 0.19129
}

Semantic roles & 50–950 ramp

primary
#308952
secondary
#B26394
accent
#50A4D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308952

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

Preview Lab → · Contrast checker → · Palette generator →

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