#226F2B#226F2B

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

Color values

HEX#226F2B
RGBrgb(34, 111, 43)
HSLhsl(127, 53%, 28%)
HSVhsv(127, 69%, 44%)
CMYKcmyk(69.4%, 0%, 61.3%, 56.5%)
CIE-LABlab(41.03, -38.45, 30.64)
CIE-LCHlch(41.03, 49.17, 141.46°)
OKLaboklab(47.88% -0.104 0.0725)
OKLCHoklch(47.88% 0.127 145.1)
XYZxyz(6.7797, 11.8827, 4.2213)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F2B #6F2266
analogous
#3F6F22 #226F2B #226F51
triadic
#226F2B #2B226F #6F2B22
tetradic
#226F2B #223F6F #6F2266 #6F5122
square
#226F2B #223F6F #6F2266 #6F5122
split-complementary
#226F2B #51226F #6F223F
monochromatic
#071709 #144019 #226F2B #309E3D #45C654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226F2B#FFFFFF#000000##FFFFFF
##226F2B1.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)
#716524
Deuteranopia (green-blind)
#685E30
Tritanopia (blue-blind)
#0C6C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226f2b;
/* rgb */ color: rgb(34, 111, 43);
/* oklch */ color: oklch(47.9% 0.127 145.1);
Tailwind
colors: {
  custom: {
    50: '#689967',
    500: '#226f2b',
    950: '#000000',
  },
}
SCSS
$custom: #226f2b;
$custom-light: #689967;
$custom-dark: #000000;
JSON
{
  "hex": "#226f2b",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 43
  },
  "hsl": {
    "h": 127.013,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4788,
    "c": 0.12674,
    "h": 145.1
  },
  "luminance": 0.11883
}

Semantic roles & 50–950 ramp

primary
#226F2B
secondary
#A24A98
accent
#4BCCDD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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