#226E20#226E20

#226E20 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.135 H 142.7°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#226E20
RGBrgb(34, 110, 32)
HSLhsl(118, 55%, 28%)
HSVhsv(118, 71%, 43%)
CMYKcmyk(69.1%, 0%, 70.9%, 56.9%)
CIE-LABlab(40.57, -39.39, 35.41)
CIE-LCHlch(40.57, 52.97, 138.05°)
OKLaboklab(47.46% -0.1071 0.0815)
OKLCHoklch(47.46% 0.135 142.7)
XYZxyz(6.4960, 11.5956, 3.2621)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E20 #6C206E
analogous
#496E20 #226E20 #206E45
triadic
#226E20 #20226E #6E2022
tetradic
#226E20 #20496E #6C206E #6E4520
square
#226E20 #20496E #6C206E #6E4520
split-complementary
#226E20 #45206E #6E2049
monochromatic
#071807 #133F12 #226E20 #319D2E #44C841

Accessibility & contrast

On white

6.33
#226E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#226E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E20
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E20#FFFFFF#000000##FFFFFF
##226E201.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716315
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#116B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e20;
/* rgb */ color: rgb(34, 110, 32);
/* oklch */ color: oklch(47.5% 0.135 142.7);
Tailwind
colors: {
  custom: {
    50: '#689860',
    500: '#226e20',
    950: '#000000',
  },
}
SCSS
$custom: #226e20;
$custom-light: #689860;
$custom-dark: #000000;
JSON
{
  "hex": "#226e20",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 118.462,
    "s": 54.93,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4746,
    "c": 0.13454,
    "h": 142.7
  },
  "luminance": 0.11596
}

Semantic roles & 50–950 ramp

primary
#226E20
secondary
#A048A2
accent
#4ADEDA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #226E20

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

Preview Lab → · Contrast checker → · Palette generator →

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