#308452#308452

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

Color values

HEX#308452
RGBrgb(48, 132, 82)
HSLhsl(144, 47%, 35%)
HSVhsv(144, 64%, 52%)
CMYKcmyk(63.6%, 0%, 37.9%, 48.2%)
CIE-LABlab(49.18, -37.33, 19.72)
CIE-LCHlch(49.18, 42.22, 152.15°)
OKLaboklab(54.9% -0.1011 0.0494)
OKLCHoklch(54.9% 0.113 154)
XYZxyz(10.9923, 17.7390, 10.8257)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308452 #843062
analogous
#388430 #308452 #30847C
triadic
#308452 #523084 #845230
tetradic
#308452 #303884 #843062 #847C30
square
#308452 #303884 #843062 #847C30
split-complementary
#308452 #7C3084 #843038
monochromatic
#0F2A1A #205736 #308452 #40B16E #67C88E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308452#FFFFFF#000000##FFFFFF
##3084521.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)
#847A4F
Deuteranopia (green-blind)
#797255
Tritanopia (blue-blind)
#0E8277
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #308452;
/* rgb */ color: rgb(48, 132, 82);
/* oklch */ color: oklch(54.9% 0.113 154.0);
Tailwind
colors: {
  custom: {
    50: '#72a883',
    500: '#308452',
    950: '#000000',
  },
}
SCSS
$custom: #308452;
$custom-light: #72a883;
$custom-dark: #000000;
JSON
{
  "hex": "#308452",
  "rgb": {
    "r": 48,
    "g": 132,
    "b": 82
  },
  "hsl": {
    "h": 144.286,
    "s": 46.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.11256,
    "h": 154
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#308452
secondary
#AF618F
accent
#51A1D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #308452

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

Preview Lab → · Contrast checker → · Palette generator →

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