#308351#308351

#308351 is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.6% C 0.112 H 153.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#308351
RGBrgb(48, 131, 81)
HSLhsl(144, 46%, 35%)
HSVhsv(144, 63%, 51%)
CMYKcmyk(63.4%, 0%, 38.2%, 48.6%)
CIE-LABlab(48.83, -37.10, 19.82)
CIE-LCHlch(48.83, 42.07, 151.89°)
OKLaboklab(54.61% -0.1005 0.0496)
OKLCHoklch(54.61% 0.112 153.7)
XYZxyz(10.8195, 17.4540, 10.5818)
Luminance0.1746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308351 #833062
analogous
#398330 #308351 #30837A
triadic
#308351 #513083 #835130
tetradic
#308351 #303983 #833062 #837A30
square
#308351 #303983 #833062 #837A30
split-complementary
#308351 #7A3083 #833039
monochromatic
#0F291A #205635 #308351 #40B06D #66C78D

Accessibility & contrast

On white

4.68
#308351 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#308351 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308351
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308351#FFFFFF#000000##FFFFFF
##3083511.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83794E
Deuteranopia (green-blind)
#787154
Tritanopia (blue-blind)
#108176
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308351;
/* rgb */ color: rgb(48, 131, 81);
/* oklch */ color: oklch(54.6% 0.112 153.7);
Tailwind
colors: {
  custom: {
    50: '#71a882',
    500: '#308351',
    950: '#000000',
  },
}
SCSS
$custom: #308351;
$custom-light: #71a882;
$custom-dark: #000000;
JSON
{
  "hex": "#308351",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 81
  },
  "hsl": {
    "h": 143.855,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.11209,
    "h": 153.7
  },
  "luminance": 0.17455
}

Semantic roles & 50–950 ramp

primary
#308351
secondary
#AE618F
accent
#52A1D6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #308351

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

Preview Lab → · Contrast checker → · Palette generator →

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