#226F22#226F22

#226F22 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.134 H 143.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#226F22
RGBrgb(34, 111, 34)
HSLhsl(120, 53%, 28%)
HSVhsv(120, 69%, 44%)
CMYKcmyk(69.4%, 0%, 69.4%, 56.5%)
CIE-LABlab(40.93, -39.56, 34.90)
CIE-LCHlch(40.93, 52.75, 138.58°)
OKLaboklab(47.77% -0.1074 0.0806)
OKLCHoklch(47.77% 0.134 143.1)
XYZxyz(6.6325, 11.8238, 3.4457)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F22 #6F226F
analogous
#486F22 #226F22 #226F48
triadic
#226F22 #22226F #6F2222
tetradic
#226F22 #22486F #6F226F #6F4822
square
#226F22 #22486F #6F226F #6F4822
split-complementary
#226F22 #48226F #6F2248
monochromatic
#071707 #144014 #226F22 #309E30 #45C645

Accessibility & contrast

On white

6.24
#226F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#226F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F22
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F22#FFFFFF#000000##FFFFFF
##226F221.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716418
Deuteranopia (green-blind)
#685E29
Tritanopia (blue-blind)
#106C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226f22;
/* rgb */ color: rgb(34, 111, 34);
/* oklch */ color: oklch(47.8% 0.134 143.1);
Tailwind
colors: {
  custom: {
    50: '#699961',
    500: '#226f22',
    950: '#000000',
  },
}
SCSS
$custom: #226f22;
$custom-light: #699961;
$custom-dark: #000000;
JSON
{
  "hex": "#226f22",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.13431,
    "h": 143.1
  },
  "luminance": 0.11824
}

Semantic roles & 50–950 ramp

primary
#226F22
secondary
#A24AA2
accent
#4BDDDD
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #226F22

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

Preview Lab → · Contrast checker → · Palette generator →

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