#228121#228121

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

Color values

HEX#228121
RGBrgb(34, 129, 33)
HSLhsl(119, 59%, 32%)
HSVhsv(119, 74%, 51%)
CMYKcmyk(73.6%, 0%, 74.4%, 49.4%)
CIE-LABlab(47.17, -46.23, 41.92)
CIE-LCHlch(47.17, 62.40, 137.80°)
OKLaboklab(52.94% -0.1255 0.0952)
OKLCHoklch(52.94% 0.158 142.8)
XYZxyz(8.7839, 16.1494, 4.0928)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228121 #802181
analogous
#528121 #228121 #218150
triadic
#228121 #212281 #812122
tetradic
#228121 #215281 #802181 #815021
square
#228121 #215281 #802181 #815021
split-complementary
#228121 #502181 #812152
monochromatic
#082008 #155015 #228121 #2FB22D #4DD14B

Accessibility & contrast

On white

4.96
#228121 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #228121
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228121#FFFFFF#000000##FFFFFF
##2281211.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847410
Deuteranopia (green-blind)
#796D2B
Tritanopia (blue-blind)
#027D6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #228121;
/* rgb */ color: rgb(34, 129, 33);
/* oklch */ color: oklch(52.9% 0.158 142.8);
Tailwind
colors: {
  custom: {
    50: '#6da763',
    500: '#228121',
    950: '#000000',
  },
}
SCSS
$custom: #228121;
$custom-light: #6da763;
$custom-dark: #000000;
JSON
{
  "hex": "#228121",
  "rgb": {
    "r": 34,
    "g": 129,
    "b": 33
  },
  "hsl": {
    "h": 119.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52936,
    "c": 0.15757,
    "h": 142.8
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#228121
secondary
#B24AB4
accent
#45E2E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #228121

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

Preview Lab → · Contrast checker → · Palette generator →

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