#308454#308454

#308454 is a mid, moderate green. Relative luminance 0.178; OKLCH L 54.9% C 0.111 H 154.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#308454
RGBrgb(48, 132, 84)
HSLhsl(146, 47%, 35%)
HSVhsv(146, 64%, 52%)
CMYKcmyk(63.6%, 0%, 36.4%, 48.2%)
CIE-LABlab(49.22, -36.93, 18.64)
CIE-LCHlch(49.22, 41.37, 153.22°)
OKLaboklab(54.95% -0.1002 0.0468)
OKLCHoklch(54.95% 0.111 154.9)
XYZxyz(11.0695, 17.7699, 11.2324)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308454 #843060
analogous
#368430 #308454 #30847E
triadic
#308454 #543084 #845430
tetradic
#308454 #303684 #843060 #847E30
square
#308454 #303684 #843060 #847E30
split-complementary
#308454 #7E3084 #843036
monochromatic
#0F2A1B #205737 #308454 #40B171 #67C890

Accessibility & contrast

On white

4.61
#308454 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#308454 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308454
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308454#FFFFFF#000000##FFFFFF
##3084541.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847A51
Deuteranopia (green-blind)
#787257
Tritanopia (blue-blind)
#0C8378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308454;
/* rgb */ color: rgb(48, 132, 84);
/* oklch */ color: oklch(54.9% 0.111 154.9);
Tailwind
colors: {
  custom: {
    50: '#72a884',
    500: '#308454',
    950: '#000000',
  },
}
SCSS
$custom: #308454;
$custom-light: #72a884;
$custom-dark: #000000;
JSON
{
  "hex": "#308454",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 84
  },
  "hsl": {
    "h": 145.714,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54946,
    "c": 0.11058,
    "h": 154.9
  },
  "luminance": 0.17771
}

Semantic roles & 50–950 ramp

primary
#308454
secondary
#AF618D
accent
#519DD6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #308454

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

Preview Lab → · Contrast checker → · Palette generator →

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