#228120#228120

#228120 is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.9% C 0.158 H 142.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#228120
RGBrgb(34, 129, 32)
HSLhsl(119, 60%, 32%)
HSVhsv(119, 75%, 51%)
CMYKcmyk(73.6%, 0%, 75.2%, 49.4%)
CIE-LABlab(47.16, -46.31, 42.30)
CIE-LCHlch(47.16, 62.73, 137.59°)
OKLaboklab(52.93% -0.1258 0.0959)
OKLCHoklch(52.93% 0.158 142.7)
XYZxyz(8.7701, 16.1439, 4.0201)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228120 #7F2081
analogous
#538120 #228120 #20814F
triadic
#228120 #202281 #812022
tetradic
#228120 #205381 #7F2081 #814F20
square
#228120 #205381 #7F2081 #814F20
split-complementary
#228120 #4F2081 #812053
monochromatic
#081F08 #155014 #228120 #2FB22C #4CD249

Accessibility & contrast

On white

4.97
#228120 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#228120 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228120
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228120#FFFFFF#000000##FFFFFF
##2281201.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740E
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#027D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228120;
/* rgb */ color: rgb(34, 129, 32);
/* oklch */ color: oklch(52.9% 0.158 142.7);
Tailwind
colors: {
  custom: {
    50: '#6da762',
    500: '#228120',
    950: '#000000',
  },
}
SCSS
$custom: #228120;
$custom-light: #6da762;
$custom-dark: #000000;
JSON
{
  "hex": "#228120",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 32
  },
  "hsl": {
    "h": 118.763,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.15821,
    "h": 142.7
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#228120
secondary
#B249B4
accent
#44E3E0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #228120

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

Preview Lab → · Contrast checker → · Palette generator →

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