#228716#228716

#228716 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.171 H 141.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#228716
RGBrgb(34, 135, 22)
HSLhsl(114, 72%, 31%)
HSVhsv(114, 84%, 53%)
CMYKcmyk(74.8%, 0%, 83.7%, 47.1%)
CIE-LABlab(49.16, -49.09, 47.68)
CIE-LCHlch(49.16, 68.43, 135.84°)
OKLaboklab(54.57% -0.1338 0.1057)
OKLCHoklch(54.57% 0.171 141.7)
XYZxyz(9.4679, 17.7249, 3.6812)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228716 #7B1687
analogous
#5A8716 #228716 #168742
triadic
#228716 #162287 #871622
tetradic
#228716 #165A87 #7B1687 #874216
square
#228716 #165A87 #7B1687 #874216
split-complementary
#228716 #421687 #87165A
monochromatic
#071E05 #15520D #228716 #2FBC1F #4ADF39

Accessibility & contrast

On white

4.62
#228716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#228716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #228716
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228716#FFFFFF#000000##FFFFFF
##2287161.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #228716;
/* rgb */ color: rgb(34, 135, 22);
/* oklch */ color: oklch(54.6% 0.171 141.7);
Tailwind
colors: {
  custom: {
    50: '#6fab5e',
    500: '#228716',
    950: '#000000',
  },
}
SCSS
$custom: #228716;
$custom-light: #6fab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#228716",
  "rgb": {
    "r": 34,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 113.628,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.17051,
    "h": 141.7
  },
  "luminance": 0.17726
}

Semantic roles & 50–950 ramp

primary
#228716
secondary
#AE3EBB
accent
#39EFDB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #228716

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

Preview Lab → · Contrast checker → · Palette generator →

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