#308254#308254

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

Color values

HEX#308254
RGBrgb(48, 130, 84)
HSLhsl(146, 46%, 35%)
HSVhsv(146, 63%, 51%)
CMYKcmyk(63.1%, 0%, 35.4%, 49%)
CIE-LABlab(48.55, -36.06, 17.75)
CIE-LCHlch(48.55, 40.19, 153.79°)
OKLaboklab(54.4% -0.0979 0.0447)
OKLCHoklch(54.4% 0.108 155.5)
XYZxyz(10.8009, 17.2327, 11.1428)
Luminance0.1723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308254 #82305E
analogous
#358230 #308254 #30827D
triadic
#308254 #543082 #825430
tetradic
#308254 #303582 #82305E #827D30
square
#308254 #303582 #82305E #827D30
split-complementary
#308254 #7D3082 #823035
monochromatic
#0F291A #1F5537 #308254 #41AF71 #66C690

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308254#FFFFFF#000000##FFFFFF
##3082541.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)
#817851
Deuteranopia (green-blind)
#767057
Tritanopia (blue-blind)
#0D8176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308254;
/* rgb */ color: rgb(48, 130, 84);
/* oklch */ color: oklch(54.4% 0.108 155.5);
Tailwind
colors: {
  custom: {
    50: '#71a784',
    500: '#308254',
    950: '#000000',
  },
}
SCSS
$custom: #308254;
$custom-light: #71a784;
$custom-dark: #000000;
JSON
{
  "hex": "#308254",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 84
  },
  "hsl": {
    "h": 146.341,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54401,
    "c": 0.10762,
    "h": 155.5
  },
  "luminance": 0.17234
}

Semantic roles & 50–950 ramp

primary
#308254
secondary
#AE608C
accent
#529CD6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0B
muted
#7B7F7C

Preview Lab

Preview with #308254

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

Preview Lab → · Contrast checker → · Palette generator →

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