#308252#308252

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

Color values

HEX#308252
RGBrgb(48, 130, 82)
HSLhsl(145, 46%, 35%)
HSVhsv(145, 63%, 51%)
CMYKcmyk(63.1%, 0%, 36.9%, 49%)
CIE-LABlab(48.51, -36.47, 18.83)
CIE-LCHlch(48.51, 41.05, 152.69°)
OKLaboklab(54.36% -0.0989 0.0473)
OKLCHoklch(54.36% 0.11 154.5)
XYZxyz(10.7237, 17.2018, 10.7361)
Luminance0.1720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308252 #823060
analogous
#378230 #308252 #30827B
triadic
#308252 #523082 #825230
tetradic
#308252 #303782 #823060 #827B30
square
#308252 #303782 #823060 #827B30
split-complementary
#308252 #7B3082 #823037
monochromatic
#0F291A #1F5536 #308252 #41AF6E #66C68E

Accessibility & contrast

On white

4.73
#308252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#308252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308252
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308252#FFFFFF#000000##FFFFFF
##3082521.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82784F
Deuteranopia (green-blind)
#777055
Tritanopia (blue-blind)
#0F8176
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308252;
/* rgb */ color: rgb(48, 130, 82);
/* oklch */ color: oklch(54.4% 0.110 154.5);
Tailwind
colors: {
  custom: {
    50: '#71a783',
    500: '#308252',
    950: '#000000',
  },
}
SCSS
$custom: #308252;
$custom-light: #71a783;
$custom-dark: #000000;
JSON
{
  "hex": "#308252",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 82
  },
  "hsl": {
    "h": 144.878,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54357,
    "c": 0.10961,
    "h": 154.5
  },
  "luminance": 0.17203
}

Semantic roles & 50–950 ramp

primary
#308252
secondary
#AE608E
accent
#529FD6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #308252

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

Preview Lab → · Contrast checker → · Palette generator →

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