#227B16#227B16

#227B16 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.157 H 141.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#227B16
RGBrgb(34, 123, 22)
HSLhsl(113, 70%, 28%)
HSVhsv(113, 82%, 48%)
CMYKcmyk(72.4%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.03, -44.97, 43.80)
CIE-LCHlch(45.03, 62.78, 135.76°)
OKLaboklab(51.14% -0.1227 0.0976)
OKLCHoklch(51.14% 0.157 141.5)
XYZxyz(7.8870, 14.5631, 3.1542)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B16 #6F167B
analogous
#547B16 #227B16 #167B3C
triadic
#227B16 #16227B #7B1622
tetradic
#227B16 #16547B #6F167B #7B3C16
square
#227B16 #16547B #6F167B #7B3C16
split-complementary
#227B16 #3C167B #7B1654
monochromatic
#071A05 #14470D #227B16 #30AF1F #45DA31

Accessibility & contrast

On white

5.37
#227B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#227B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B16
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B16#FFFFFF#000000##FFFFFF
##227B161.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#0B7768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227b16;
/* rgb */ color: rgb(34, 123, 22);
/* oklch */ color: oklch(51.1% 0.157 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ca25c',
    500: '#227b16',
    950: '#000000',
  },
}
SCSS
$custom: #227b16;
$custom-light: #6ca25c;
$custom-dark: #000000;
JSON
{
  "hex": "#227b16",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 112.871,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51138,
    "c": 0.15678,
    "h": 141.5
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#227B16
secondary
#A23DB0
accent
#3BECD7
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F04
muted
#7B7F79

Preview Lab

Preview with #227B16

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

Preview Lab → · Contrast checker → · Palette generator →

#227B16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva