#227416#227416

#227416 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.148 H 141.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#227416
RGBrgb(34, 116, 22)
HSLhsl(112, 68%, 27%)
HSVhsv(112, 81%, 45%)
CMYKcmyk(70.7%, 0%, 81%, 54.5%)
CIE-LABlab(42.59, -42.48, 41.47)
CIE-LCHlch(42.59, 59.37, 135.69°)
OKLaboklab(49.12% -0.116 0.0927)
OKLCHoklch(49.12% 0.148 141.4)
XYZxyz(7.0495, 12.8881, 2.8750)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227416 #681674
analogous
#517416 #227416 #167439
triadic
#227416 #162274 #741622
tetradic
#227416 #165174 #681674 #743916
square
#227416 #165174 #681674 #743916
split-complementary
#227416 #391674 #741651
monochromatic
#081A05 #13410C #227416 #31A720 #43D72D

Accessibility & contrast

On white

5.87
#227416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#227416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227416
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227416#FFFFFF#000000##FFFFFF
##2274161.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#107062
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #227416;
/* rgb */ color: rgb(34, 116, 22);
/* oklch */ color: oklch(49.1% 0.148 141.4);
Tailwind
colors: {
  custom: {
    50: '#6a9d5b',
    500: '#227416',
    950: '#000000',
  },
}
SCSS
$custom: #227416;
$custom-light: #6a9d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#227416",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 112.34,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49117,
    "c": 0.14849,
    "h": 141.4
  },
  "luminance": 0.12889
}

Semantic roles & 50–950 ramp

primary
#227416
secondary
#9C3CAA
accent
#3DEBD5
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227416

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

Preview Lab → · Contrast checker → · Palette generator →

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