#227316#227316

#227316 is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.8% C 0.147 H 141.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#227316
RGBrgb(34, 115, 22)
HSLhsl(112, 68%, 27%)
HSVhsv(112, 81%, 45%)
CMYKcmyk(70.4%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.24, -42.12, 41.13)
CIE-LCHlch(42.24, 58.87, 135.68°)
OKLaboklab(48.83% -0.115 0.092)
OKLCHoklch(48.83% 0.147 141.3)
XYZxyz(6.9349, 12.6588, 2.8368)
Luminance0.1266 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227316 #671673
analogous
#517316 #227316 #167339
triadic
#227316 #162273 #731622
tetradic
#227316 #165173 #671673 #733916
square
#227316 #165173 #671673 #733916
split-complementary
#227316 #391673 #731651
monochromatic
#081A05 #13400C #227316 #31A620 #43D72D

Accessibility & contrast

On white

5.95
#227316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#227316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227316
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227316#FFFFFF#000000##FFFFFF
##2273161.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6D6121
Tritanopia (blue-blind)
#116F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #227316;
/* rgb */ color: rgb(34, 115, 22);
/* oklch */ color: oklch(48.8% 0.147 141.3);
Tailwind
colors: {
  custom: {
    50: '#6a9c5b',
    500: '#227316',
    950: '#000000',
  },
}
SCSS
$custom: #227316;
$custom-light: #6a9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#227316",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 112.258,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48827,
    "c": 0.1473,
    "h": 141.3
  },
  "luminance": 0.12659
}

Semantic roles & 50–950 ramp

primary
#227316
secondary
#9B3CA9
accent
#3DEBD4
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #227316

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

Preview Lab → · Contrast checker → · Palette generator →

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