#308332#308332

#308332 is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.1% C 0.142 H 143.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#308332
RGBrgb(48, 131, 50)
HSLhsl(121, 46%, 35%)
HSVhsv(121, 63%, 51%)
CMYKcmyk(63.4%, 0%, 61.8%, 48.6%)
CIE-LABlab(48.37, -42.14, 35.76)
CIE-LCHlch(48.37, 55.27, 139.68°)
OKLaboklab(54.09% -0.1144 0.0841)
OKLCHoklch(54.09% 0.142 143.7)
XYZxyz(9.9104, 17.0903, 5.7935)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308332 #833081
analogous
#578330 #308332 #30835C
triadic
#308332 #323083 #833230
tetradic
#308332 #305783 #833081 #835C30
square
#308332 #305783 #833081 #835C30
split-complementary
#308332 #5C3083 #833057
monochromatic
#0F2910 #205621 #308332 #40B043 #66C769

Accessibility & contrast

On white

4.75
#308332 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#308332 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308332
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308332#FFFFFF#000000##FFFFFF
##3083321.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867729
Deuteranopia (green-blind)
#7B7039
Tritanopia (blue-blind)
#1F7F72
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #308332;
/* rgb */ color: rgb(48, 131, 50);
/* oklch */ color: oklch(54.1% 0.142 143.7);
Tailwind
colors: {
  custom: {
    50: '#72a86d',
    500: '#308332',
    950: '#000000',
  },
}
SCSS
$custom: #308332;
$custom-light: #72a86d;
$custom-dark: #000000;
JSON
{
  "hex": "#308332",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 50
  },
  "hsl": {
    "h": 121.446,
    "s": 46.369,
    "l": 35.098
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.14195,
    "h": 143.7
  },
  "luminance": 0.17091
}

Semantic roles & 50–950 ramp

primary
#308332
secondary
#AE61AC
accent
#52D3D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #308332

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

Preview Lab → · Contrast checker → · Palette generator →

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