#228016#228016

#228016 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.163 H 141.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#228016
RGBrgb(34, 128, 22)
HSLhsl(113, 71%, 29%)
HSVhsv(113, 83%, 50%)
CMYKcmyk(73.4%, 0%, 82.8%, 49.8%)
CIE-LABlab(46.76, -46.71, 45.43)
CIE-LCHlch(46.76, 65.16, 135.79°)
OKLaboklab(52.57% -0.1274 0.101)
OKLCHoklch(52.57% 0.163 141.6)
XYZxyz(8.5232, 15.8354, 3.3663)
Luminance0.1584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228016 #741680
analogous
#578016 #228016 #16803F
triadic
#228016 #162280 #801622
tetradic
#228016 #165780 #741680 #803F16
square
#228016 #165780 #741680 #803F16
split-complementary
#228016 #3F1680 #801657
monochromatic
#071A04 #144C0D #228016 #30B41F #47DC34

Accessibility & contrast

On white

5.04
#228016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#228016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #228016
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228016#FFFFFF#000000##FFFFFF
##2280161.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#077C6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #228016;
/* rgb */ color: rgb(34, 128, 22);
/* oklch */ color: oklch(52.6% 0.163 141.6);
Tailwind
colors: {
  custom: {
    50: '#6da65d',
    500: '#228016',
    950: '#000000',
  },
}
SCSS
$custom: #228016;
$custom-light: #6da65d;
$custom-dark: #000000;
JSON
{
  "hex": "#228016",
  "rgb": {
    "r": 34,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 113.208,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52573,
    "c": 0.16257,
    "h": 141.6
  },
  "luminance": 0.15836
}

Semantic roles & 50–950 ramp

primary
#228016
secondary
#A73DB5
accent
#3AEDD9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #228016

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

Preview Lab → · Contrast checker → · Palette generator →

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