#227816#227816

#227816 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.153 H 141.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#227816
RGBrgb(34, 120, 22)
HSLhsl(113, 69%, 28%)
HSVhsv(113, 82%, 47%)
CMYKcmyk(71.7%, 0%, 81.7%, 52.9%)
CIE-LABlab(43.99, -43.91, 42.81)
CIE-LCHlch(43.99, 61.33, 135.73°)
OKLaboklab(50.27% -0.1199 0.0955)
OKLCHoklch(50.27% 0.153 141.5)
XYZxyz(7.5206, 13.8301, 3.0320)
Luminance0.1383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227816 #6C1678
analogous
#537816 #227816 #16783B
triadic
#227816 #162278 #781622
tetradic
#227816 #165378 #6C1678 #783B16
square
#227816 #165378 #6C1678 #783B16
split-complementary
#227816 #3B1678 #781653
monochromatic
#071A05 #13440D #227816 #31AC1F #44D92F

Accessibility & contrast

On white

5.58
#227816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#227816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227816
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227816#FFFFFF#000000##FFFFFF
##2278161.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#0E7466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227816;
/* rgb */ color: rgb(34, 120, 22);
/* oklch */ color: oklch(50.3% 0.153 141.5);
Tailwind
colors: {
  custom: {
    50: '#6ba05c',
    500: '#227816',
    950: '#000000',
  },
}
SCSS
$custom: #227816;
$custom-light: #6ba05c;
$custom-dark: #000000;
JSON
{
  "hex": "#227816",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 112.653,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50274,
    "c": 0.15326,
    "h": 141.5
  },
  "luminance": 0.13831
}

Semantic roles & 50–950 ramp

primary
#227816
secondary
#A03CAD
accent
#3CECD6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F04
muted
#7A7E79

Preview Lab

Preview with #227816

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

Preview Lab → · Contrast checker → · Palette generator →

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