#226F40#226F40

#226F40 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.106 H 152.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#226F40
RGBrgb(34, 111, 64)
HSLhsl(143, 53%, 28%)
HSVhsv(143, 69%, 44%)
CMYKcmyk(69.4%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.34, -34.92, 19.52)
CIE-LCHlch(41.34, 40.01, 150.80°)
OKLaboklab(48.24% -0.0943 0.0485)
OKLCHoklch(48.24% 0.106 152.8)
XYZxyz(7.2689, 12.0784, 6.7978)
Luminance0.1208 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F40 #6F2251
analogous
#2A6F22 #226F40 #226F66
triadic
#226F40 #40226F #6F4022
tetradic
#226F40 #222A6F #6F2251 #6F6622
square
#226F40 #222A6F #6F2251 #6F6622
split-complementary
#226F40 #66226F #6F222A
monochromatic
#07170E #144025 #226F40 #309E5B #45C677

Accessibility & contrast

On white

6.15
#226F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#226F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F40
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F40#FFFFFF#000000##FFFFFF
##226F401.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F663D
Deuteranopia (green-blind)
#655F43
Tritanopia (blue-blind)
#006D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226f40;
/* rgb */ color: rgb(34, 111, 64);
/* oklch */ color: oklch(48.2% 0.106 152.8);
Tailwind
colors: {
  custom: {
    50: '#679975',
    500: '#226f40',
    950: '#000000',
  },
}
SCSS
$custom: #226f40;
$custom-light: #679975;
$custom-dark: #000000;
JSON
{
  "hex": "#226f40",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 143.377,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48238,
    "c": 0.10605,
    "h": 152.8
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#226F40
secondary
#A24A80
accent
#4BA4DD
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #226F40

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

Preview Lab → · Contrast checker → · Palette generator →

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