#308221#308221

#308221 is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.153 H 140.9°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#308221
RGBrgb(48, 130, 33)
HSLhsl(111, 60%, 32%)
HSVhsv(111, 75%, 51%)
CMYKcmyk(63.1%, 0%, 74.6%, 49%)
CIE-LABlab(47.88, -43.52, 42.77)
CIE-LCHlch(47.88, 61.01, 135.50°)
OKLaboklab(53.63% -0.1191 0.0969)
OKLCHoklch(53.63% 0.154 140.9)
XYZxyz(9.4756, 16.7026, 4.1631)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308221 #732182
analogous
#618221 #308221 #218243
triadic
#308221 #213082 #822130
tetradic
#308221 #216182 #732182 #824321
square
#308221 #216182 #732182 #824321
split-complementary
#308221 #432182 #822161
monochromatic
#0C2008 #1E5115 #308221 #42B32D #61D24C

Accessibility & contrast

On white

4.84
#308221 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#308221 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #308221
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##308221#FFFFFF#000000##FFFFFF
##3082211.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857610
Deuteranopia (green-blind)
#7B6F2B
Tritanopia (blue-blind)
#247E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308221;
/* rgb */ color: rgb(48, 130, 33);
/* oklch */ color: oklch(53.6% 0.153 140.9);
Tailwind
colors: {
  custom: {
    50: '#73a763',
    500: '#308221',
    950: '#000000',
  },
}
SCSS
$custom: #308221;
$custom-light: #73a763;
$custom-dark: #000000;
JSON
{
  "hex": "#308221",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 33
  },
  "hsl": {
    "h": 110.722,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.53633,
    "c": 0.1535,
    "h": 140.9
  },
  "luminance": 0.16703
}

Semantic roles & 50–950 ramp

primary
#308221
secondary
#A44AB4
accent
#45E3CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #308221

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

Preview Lab → · Contrast checker → · Palette generator →

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