#226E40#226E40

#226E40 is a mid, moderate green. Relative luminance 0.119; OKLCH L 48.0% C 0.105 H 153.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#226E40
RGBrgb(34, 110, 64)
HSLhsl(144, 53%, 28%)
HSVhsv(144, 69%, 43%)
CMYKcmyk(69.1%, 0%, 41.8%, 56.9%)
CIE-LABlab(40.99, -34.50, 19.07)
CIE-LCHlch(40.99, 39.41, 151.07°)
OKLaboklab(47.95% -0.0932 0.0474)
OKLCHoklch(47.95% 0.105 153)
XYZxyz(7.1604, 11.8614, 6.7616)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E40 #6E2250
analogous
#2A6E22 #226E40 #226E66
triadic
#226E40 #40226E #6E4022
tetradic
#226E40 #222A6E #6E2250 #6E6622
square
#226E40 #222A6E #6E2250 #6E6622
split-complementary
#226E40 #66226E #6E222A
monochromatic
#07170E #143F25 #226E40 #309D5B #45C578

Accessibility & contrast

On white

6.23
#226E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#226E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E40
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E40#FFFFFF#000000##FFFFFF
##226E401.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E653D
Deuteranopia (green-blind)
#645E43
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226e40;
/* rgb */ color: rgb(34, 110, 64);
/* oklch */ color: oklch(48.0% 0.105 153.0);
Tailwind
colors: {
  custom: {
    50: '#679875',
    500: '#226e40',
    950: '#000000',
  },
}
SCSS
$custom: #226e40;
$custom-light: #679875;
$custom-dark: #000000;
JSON
{
  "hex": "#226e40",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 64
  },
  "hsl": {
    "h": 143.684,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.10457,
    "h": 153
  },
  "luminance": 0.11862
}

Semantic roles & 50–950 ramp

primary
#226E40
secondary
#A14A7F
accent
#4CA3DC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #226E40

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

Preview Lab → · Contrast checker → · Palette generator →

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