#308255#308255

#308255 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.4% C 0.107 H 156.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#308255
RGBrgb(48, 130, 85)
HSLhsl(147, 46%, 35%)
HSVhsv(147, 63%, 51%)
CMYKcmyk(63.1%, 0%, 34.6%, 49%)
CIE-LABlab(48.57, -35.85, 17.20)
CIE-LCHlch(48.57, 39.76, 154.36°)
OKLaboklab(54.42% -0.0974 0.0434)
OKLCHoklch(54.42% 0.107 156)
XYZxyz(10.8403, 17.2484, 11.3506)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308255 #82305D
analogous
#348230 #308255 #30827E
triadic
#308255 #553082 #825530
tetradic
#308255 #303482 #82305D #827E30
square
#308255 #303482 #82305D #827E30
split-complementary
#308255 #7E3082 #823034
monochromatic
#0F291B #1F5538 #308255 #41AF72 #66C691

Accessibility & contrast

On white

4.72
#308255 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#308255 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308255
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308255#FFFFFF#000000##FFFFFF
##3082551.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817852
Deuteranopia (green-blind)
#767058
Tritanopia (blue-blind)
#0C8176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308255;
/* rgb */ color: rgb(48, 130, 85);
/* oklch */ color: oklch(54.4% 0.107 156.0);
Tailwind
colors: {
  custom: {
    50: '#71a785',
    500: '#308255',
    950: '#000000',
  },
}
SCSS
$custom: #308255;
$custom-light: #71a785;
$custom-dark: #000000;
JSON
{
  "hex": "#308255",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 85
  },
  "hsl": {
    "h": 147.073,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54424,
    "c": 0.10663,
    "h": 156
  },
  "luminance": 0.1725
}

Semantic roles & 50–950 ramp

primary
#308255
secondary
#AE608B
accent
#529AD6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #308255

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

Preview Lab → · Contrast checker → · Palette generator →

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