#308451#308451

#308451 is a mid, moderate green. Relative luminance 0.177; OKLCH L 54.9% C 0.114 H 153.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#308451
RGBrgb(48, 132, 81)
HSLhsl(144, 47%, 35%)
HSVhsv(144, 64%, 52%)
CMYKcmyk(63.6%, 0%, 38.6%, 48.2%)
CIE-LABlab(49.16, -37.53, 20.26)
CIE-LCHlch(49.16, 42.65, 151.64°)
OKLaboklab(54.88% -0.1016 0.0507)
OKLCHoklch(54.88% 0.114 153.5)
XYZxyz(10.9545, 17.7239, 10.6267)
Luminance0.1772 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308451 #843063
analogous
#398430 #308451 #30847B
triadic
#308451 #513084 #845130
tetradic
#308451 #303984 #843063 #847B30
square
#308451 #303984 #843063 #847B30
split-complementary
#308451 #7B3084 #843039
monochromatic
#0F2A1A #205735 #308451 #40B16D #67C88D

Accessibility & contrast

On white

4.62
#308451 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #308451
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308451#FFFFFF#000000##FFFFFF
##3084511.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847A4E
Deuteranopia (green-blind)
#797254
Tritanopia (blue-blind)
#0F8277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308451;
/* rgb */ color: rgb(48, 132, 81);
/* oklch */ color: oklch(54.9% 0.114 153.5);
Tailwind
colors: {
  custom: {
    50: '#72a882',
    500: '#308451',
    950: '#000000',
  },
}
SCSS
$custom: #308451;
$custom-light: #72a882;
$custom-dark: #000000;
JSON
{
  "hex": "#308451",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 81
  },
  "hsl": {
    "h": 143.571,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54881,
    "c": 0.11356,
    "h": 153.5
  },
  "luminance": 0.17725
}

Semantic roles & 50–950 ramp

primary
#308451
secondary
#AF6190
accent
#51A2D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #308451

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

Preview Lab → · Contrast checker → · Palette generator →

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