#308232#308232

#308232 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.8% C 0.141 H 143.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#308232
RGBrgb(48, 130, 50)
HSLhsl(121, 46%, 35%)
HSVhsv(121, 63%, 51%)
CMYKcmyk(63.1%, 0%, 61.5%, 49%)
CIE-LABlab(48.04, -41.75, 35.38)
CIE-LCHlch(48.04, 54.72, 139.72°)
OKLaboklab(53.81% -0.1133 0.0833)
OKLCHoklch(53.81% 0.141 143.7)
XYZxyz(9.7767, 16.8230, 5.7489)
Luminance0.1682 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308232 #823080
analogous
#578230 #308232 #30825B
triadic
#308232 #323082 #823230
tetradic
#308232 #305782 #823080 #825B30
square
#308232 #305782 #823080 #825B30
split-complementary
#308232 #5B3082 #823057
monochromatic
#0F2910 #1F5521 #308232 #41AF43 #66C668

Accessibility & contrast

On white

4.81
#308232 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#308232 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308232
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308232#FFFFFF#000000##FFFFFF
##3082321.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85762A
Deuteranopia (green-blind)
#7A6F38
Tritanopia (blue-blind)
#207E71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308232;
/* rgb */ color: rgb(48, 130, 50);
/* oklch */ color: oklch(53.8% 0.141 143.7);
Tailwind
colors: {
  custom: {
    50: '#72a76d',
    500: '#308232',
    950: '#000000',
  },
}
SCSS
$custom: #308232;
$custom-light: #72a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#308232",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 50
  },
  "hsl": {
    "h": 121.463,
    "s": 46.067,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53809,
    "c": 0.1406,
    "h": 143.7
  },
  "luminance": 0.16824
}

Semantic roles & 50–950 ramp

primary
#308232
secondary
#AE60AC
accent
#52D3D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #308232

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

Preview Lab → · Contrast checker → · Palette generator →

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