#308222#308222

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

Color values

HEX#308222
RGBrgb(48, 130, 34)
HSLhsl(111, 59%, 32%)
HSVhsv(111, 74%, 51%)
CMYKcmyk(63.1%, 0%, 73.8%, 49%)
CIE-LABlab(47.89, -43.43, 42.38)
CIE-LCHlch(47.89, 60.68, 135.70°)
OKLaboklab(53.64% -0.1188 0.0962)
OKLCHoklch(53.64% 0.153 141)
XYZxyz(9.4898, 16.7082, 4.2380)
Luminance0.1671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#308222 #742282
analogous
#608222 #308222 #228244
triadic
#308222 #223082 #822230
tetradic
#308222 #226082 #742282 #824422
square
#308222 #226082 #742282 #824422
split-complementary
#308222 #442282 #822260
monochromatic
#0C2109 #1E5115 #308222 #42B32F #61D14E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##308222#FFFFFF#000000##FFFFFF
##3082221.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)
#857612
Deuteranopia (green-blind)
#7B6F2C
Tritanopia (blue-blind)
#237E6F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #308222;
/* rgb */ color: rgb(48, 130, 34);
/* oklch */ color: oklch(53.6% 0.153 141.0);
Tailwind
colors: {
  custom: {
    50: '#73a763',
    500: '#308222',
    950: '#000000',
  },
}
SCSS
$custom: #308222;
$custom-light: #73a763;
$custom-dark: #000000;
JSON
{
  "hex": "#308222",
  "rgb": {
    "r": 48,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 111.25,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53641,
    "c": 0.15285,
    "h": 141
  },
  "luminance": 0.16709
}

Semantic roles & 50–950 ramp

primary
#308222
secondary
#A54CB4
accent
#46E2CB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #308222

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

Preview Lab → · Contrast checker → · Palette generator →

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