#308151#308151

#308151 is a mid, moderate green. Relative luminance 0.169; OKLCH L 54.1% C 0.109 H 154.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#308151
RGBrgb(48, 129, 81)
HSLhsl(144, 46%, 35%)
HSVhsv(144, 63%, 51%)
CMYKcmyk(62.8%, 0%, 37.2%, 49.4%)
CIE-LABlab(48.16, -36.24, 18.93)
CIE-LCHlch(48.16, 40.88, 152.42°)
OKLaboklab(54.06% -0.0983 0.0475)
OKLCHoklch(54.06% 0.109 154.2)
XYZxyz(10.5535, 16.9219, 10.4931)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308151 #813060
analogous
#388130 #308151 #30817A
triadic
#308151 #513081 #815130
tetradic
#308151 #303881 #813060 #817A30
square
#308151 #303881 #813060 #817A30
split-complementary
#308151 #7A3081 #813038
monochromatic
#0F2819 #1F5435 #308151 #41AE6D #66C68D

Accessibility & contrast

On white

4.79
#308151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#308151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308151
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308151#FFFFFF#000000##FFFFFF
##3081511.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774E
Deuteranopia (green-blind)
#766F54
Tritanopia (blue-blind)
#118075
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308151;
/* rgb */ color: rgb(48, 129, 81);
/* oklch */ color: oklch(54.1% 0.109 154.2);
Tailwind
colors: {
  custom: {
    50: '#71a682',
    500: '#308151',
    950: '#000000',
  },
}
SCSS
$custom: #308151;
$custom-light: #71a682;
$custom-dark: #000000;
JSON
{
  "hex": "#308151",
  "rgb": {
    "r": 48,
    "g": 129,
    "b": 81
  },
  "hsl": {
    "h": 144.444,
    "s": 45.763,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54062,
    "c": 0.10913,
    "h": 154.2
  },
  "luminance": 0.16923
}

Semantic roles & 50–950 ramp

primary
#308151
secondary
#AD608E
accent
#52A0D5
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #308151

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

Preview Lab → · Contrast checker → · Palette generator →

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