#308951#308951

#308951 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.121 H 152.5°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#308951
RGBrgb(48, 137, 81)
HSLhsl(142, 48%, 36%)
HSVhsv(142, 65%, 54%)
CMYKcmyk(65%, 0%, 40.9%, 46.3%)
CIE-LABlab(50.82, -39.65, 22.46)
CIE-LCHlch(50.82, 45.57, 150.47°)
OKLaboklab(56.25% -0.1072 0.0559)
OKLCHoklch(56.25% 0.121 152.5)
XYZxyz(11.6488, 19.1126, 10.8582)
Luminance0.1911 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308951 #893068
analogous
#3C8930 #308951 #30897E
triadic
#308951 #513089 #895130
tetradic
#308951 #303C89 #893068 #897E30
square
#308951 #303C89 #893068 #897E30
split-complementary
#308951 #7E3089 #89303C
monochromatic
#102E1B #205C36 #308951 #40B66C #69CA8D

Accessibility & contrast

On white

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

On black

4.82
#308951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #308951
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308951#FFFFFF#000000##000000
##3089511.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#897E4D
Deuteranopia (green-blind)
#7E7655
Tritanopia (blue-blind)
#0B877B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #308951;
/* rgb */ color: rgb(48, 137, 81);
/* oklch */ color: oklch(56.2% 0.121 152.5);
Tailwind
colors: {
  custom: {
    50: '#73ac82',
    500: '#308951',
    950: '#000000',
  },
}
SCSS
$custom: #308951;
$custom-light: #73ac82;
$custom-dark: #000000;
JSON
{
  "hex": "#308951",
  "rgb": {
    "r": 48,
    "g": 137,
    "b": 81
  },
  "hsl": {
    "h": 142.247,
    "s": 48.108,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56245,
    "c": 0.12087,
    "h": 152.5
  },
  "luminance": 0.19114
}

Semantic roles & 50–950 ramp

primary
#308951
secondary
#B26395
accent
#50A5D8
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #308951

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

Preview Lab → · Contrast checker → · Palette generator →

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