#226F2C#226F2C

#226F2C is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.126 H 145.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#226F2C
RGBrgb(34, 111, 44)
HSLhsl(128, 53%, 28%)
HSVhsv(128, 69%, 44%)
CMYKcmyk(69.4%, 0%, 60.4%, 56.5%)
CIE-LABlab(41.04, -38.32, 30.14)
CIE-LCHlch(41.04, 48.75, 141.81°)
OKLaboklab(47.89% -0.1036 0.0715)
OKLCHoklch(47.89% 0.126 145.4)
XYZxyz(6.7983, 11.8901, 4.3191)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F2C #6F2265
analogous
#3E6F22 #226F2C #226F52
triadic
#226F2C #2C226F #6F2C22
tetradic
#226F2C #223E6F #6F2265 #6F5222
square
#226F2C #223E6F #6F2265 #6F5222
split-complementary
#226F2C #52226F #6F223E
monochromatic
#071709 #144019 #226F2C #309E3F #45C656

Accessibility & contrast

On white

6.22
#226F2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#226F2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F2C
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F2C#FFFFFF#000000##FFFFFF
##226F2C1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716525
Deuteranopia (green-blind)
#675E31
Tritanopia (blue-blind)
#0B6C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226f2c;
/* rgb */ color: rgb(34, 111, 44);
/* oklch */ color: oklch(47.9% 0.126 145.4);
Tailwind
colors: {
  custom: {
    50: '#689967',
    500: '#226f2c',
    950: '#000000',
  },
}
SCSS
$custom: #226f2c;
$custom-light: #689967;
$custom-dark: #000000;
JSON
{
  "hex": "#226f2c",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 44
  },
  "hsl": {
    "h": 127.792,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47893,
    "c": 0.12583,
    "h": 145.4
  },
  "luminance": 0.11891
}

Semantic roles & 50–950 ramp

primary
#226F2C
secondary
#A24A97
accent
#4BCADD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226F2C

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

Preview Lab → · Contrast checker → · Palette generator →

#226F2C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva