#308352#308352

#308352 is a mid, moderate green. Relative luminance 0.175; OKLCH L 54.6% C 0.111 H 154.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#308352
RGBrgb(48, 131, 82)
HSLhsl(145, 46%, 35%)
HSVhsv(145, 63%, 51%)
CMYKcmyk(63.4%, 0%, 37.4%, 48.6%)
CIE-LABlab(48.85, -36.90, 19.28)
CIE-LCHlch(48.85, 41.64, 152.42°)
OKLaboklab(54.63% -0.1 0.0483)
OKLCHoklch(54.63% 0.111 154.2)
XYZxyz(10.8573, 17.4691, 10.7807)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308352 #833061
analogous
#388330 #308352 #30837B
triadic
#308352 #523083 #835230
tetradic
#308352 #303883 #833061 #837B30
square
#308352 #303883 #833061 #837B30
split-complementary
#308352 #7B3083 #833038
monochromatic
#0F291A #205636 #308352 #40B06E #66C78E

Accessibility & contrast

On white

4.67
#308352 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#308352 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308352
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308352#FFFFFF#000000##FFFFFF
##3083521.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83794F
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#0F8276
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #308352;
/* rgb */ color: rgb(48, 131, 82);
/* oklch */ color: oklch(54.6% 0.111 154.2);
Tailwind
colors: {
  custom: {
    50: '#71a883',
    500: '#308352',
    950: '#000000',
  },
}
SCSS
$custom: #308352;
$custom-light: #71a883;
$custom-dark: #000000;
JSON
{
  "hex": "#308352",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 82
  },
  "hsl": {
    "h": 144.578,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5463,
    "c": 0.11109,
    "h": 154.2
  },
  "luminance": 0.1747
}

Semantic roles & 50–950 ramp

primary
#308352
secondary
#AE618E
accent
#52A0D6
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #308352

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

Preview Lab → · Contrast checker → · Palette generator →

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