#227F16#227F16

#227F16 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.161 H 141.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#227F16
RGBrgb(34, 127, 22)
HSLhsl(113, 70%, 29%)
HSVhsv(113, 83%, 50%)
CMYKcmyk(73.2%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.41, -46.36, 45.11)
CIE-LCHlch(46.41, 64.69, 135.79°)
OKLaboklab(52.29% -0.1265 0.1003)
OKLCHoklch(52.29% 0.161 141.6)
XYZxyz(8.3934, 15.5758, 3.3230)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F16 #73167F
analogous
#577F16 #227F16 #167F3F
triadic
#227F16 #16227F #7F1622
tetradic
#227F16 #16577F #73167F #7F3F16
square
#227F16 #16577F #73167F #7F3F16
split-complementary
#227F16 #3F167F #7F1657
monochromatic
#071A05 #144B0D #227F16 #30B31F #47DC34

Accessibility & contrast

On white

5.10
#227F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#227F16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F16
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F16#FFFFFF#000000##FFFFFF
##227F161.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#087B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227f16;
/* rgb */ color: rgb(34, 127, 22);
/* oklch */ color: oklch(52.3% 0.161 141.6);
Tailwind
colors: {
  custom: {
    50: '#6da55d',
    500: '#227f16',
    950: '#000000',
  },
}
SCSS
$custom: #227f16;
$custom-light: #6da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#227f16",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 113.143,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.16142,
    "h": 141.6
  },
  "luminance": 0.15577
}

Semantic roles & 50–950 ramp

primary
#227F16
secondary
#A63DB4
accent
#3BEDD9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #227F16

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

Preview Lab → · Contrast checker → · Palette generator →

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