#226720#226720

#226720 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.4% C 0.125 H 142.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#226720
RGBrgb(34, 103, 32)
HSLhsl(118, 53%, 26%)
HSVhsv(118, 69%, 40%)
CMYKcmyk(67%, 0%, 68.9%, 59.6%)
CIE-LABlab(38.10, -36.68, 32.73)
CIE-LCHlch(38.10, 49.16, 138.25°)
OKLaboklab(45.42% -0.0997 0.0758)
OKLCHoklch(45.42% 0.125 142.8)
XYZxyz(5.7703, 10.1443, 3.0202)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226720 #652067
analogous
#466720 #226720 #206742
triadic
#226720 #202267 #672022
tetradic
#226720 #204667 #652067 #674220
square
#226720 #204667 #652067 #674220
split-complementary
#226720 #422067 #672046
monochromatic
#081707 #133811 #226720 #31962F #42C33E

Accessibility & contrast

On white

6.93
#226720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#226720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226720
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226720#FFFFFF#000000##FFFFFF
##2267201.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D17
Deuteranopia (green-blind)
#615726
Tritanopia (blue-blind)
#146458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226720;
/* rgb */ color: rgb(34, 103, 32);
/* oklch */ color: oklch(45.4% 0.125 142.8);
Tailwind
colors: {
  custom: {
    50: '#67935f',
    500: '#226720',
    950: '#000000',
  },
}
SCSS
$custom: #226720;
$custom-light: #67935f;
$custom-dark: #000000;
JSON
{
  "hex": "#226720",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 118.31,
    "s": 52.593,
    "l": 26.471
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.12527,
    "h": 142.8
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#226720
secondary
#99489B
accent
#4CDCD8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #226720

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

Preview Lab → · Contrast checker → · Palette generator →

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