#308457#308457

#308457 is a mid, moderate green. Relative luminance 0.178; OKLCH L 55.0% C 0.108 H 156.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#308457
RGBrgb(48, 132, 87)
HSLhsl(148, 47%, 35%)
HSVhsv(148, 64%, 52%)
CMYKcmyk(63.6%, 0%, 34.1%, 48.2%)
CIE-LABlab(49.27, -36.30, 17.02)
CIE-LCHlch(49.27, 40.09, 154.89°)
OKLaboklab(55.01% -0.0987 0.0429)
OKLCHoklch(55.01% 0.108 156.5)
XYZxyz(11.1895, 17.8179, 11.8645)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308457 #84305D
analogous
#338430 #308457 #308481
triadic
#308457 #573084 #845730
tetradic
#308457 #303384 #84305D #848130
square
#308457 #303384 #84305D #848130
split-complementary
#308457 #813084 #843033
monochromatic
#0F2A1C #205739 #308457 #40B175 #67C894

Accessibility & contrast

On white

4.60
#308457 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#308457 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #308457
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308457#FFFFFF#000000##FFFFFF
##3084571.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837A54
Deuteranopia (green-blind)
#78725A
Tritanopia (blue-blind)
#088378
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308457;
/* rgb */ color: rgb(48, 132, 87);
/* oklch */ color: oklch(55.0% 0.108 156.5);
Tailwind
colors: {
  custom: {
    50: '#72a886',
    500: '#308457',
    950: '#000000',
  },
}
SCSS
$custom: #308457;
$custom-light: #72a886;
$custom-dark: #000000;
JSON
{
  "hex": "#308457",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 87
  },
  "hsl": {
    "h": 147.857,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55013,
    "c": 0.10762,
    "h": 156.5
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#308457
secondary
#AF618B
accent
#5199D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100B
muted
#7B7F7C

Preview Lab

Preview with #308457

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

Preview Lab → · Contrast checker → · Palette generator →

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