#227916#227916

#227916 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.6% C 0.154 H 141.5°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#227916
RGBrgb(34, 121, 22)
HSLhsl(113, 69%, 28%)
HSVhsv(113, 82%, 47%)
CMYKcmyk(71.9%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.34, -44.27, 43.14)
CIE-LCHlch(44.34, 61.81, 135.74°)
OKLaboklab(50.56% -0.1208 0.0962)
OKLCHoklch(50.56% 0.154 141.5)
XYZxyz(7.6415, 14.0719, 3.0723)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227916 #6D1679
analogous
#537916 #227916 #16793B
triadic
#227916 #162279 #791622
tetradic
#227916 #165379 #6D1679 #793B16
square
#227916 #165379 #6D1679 #793B16
split-complementary
#227916 #3B1679 #791653
monochromatic
#071A05 #13450D #227916 #31AD1F #45D930

Accessibility & contrast

On white

5.51
#227916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#227916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227916
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227916#FFFFFF#000000##FFFFFF
##2279161.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#0D7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227916;
/* rgb */ color: rgb(34, 121, 22);
/* oklch */ color: oklch(50.6% 0.154 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ca15c',
    500: '#227916',
    950: '#000000',
  },
}
SCSS
$custom: #227916;
$custom-light: #6ca15c;
$custom-dark: #000000;
JSON
{
  "hex": "#227916",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 112.727,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50562,
    "c": 0.15443,
    "h": 141.5
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

primary
#227916
secondary
#A13DAE
accent
#3CECD7
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #227916

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

Preview Lab → · Contrast checker → · Palette generator →

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