#226540#226540

#226540 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.4% C 0.091 H 155.6°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#226540
RGBrgb(34, 101, 64)
HSLhsl(147, 50%, 26%)
HSVhsv(147, 66%, 40%)
CMYKcmyk(66.3%, 0%, 36.6%, 60.4%)
CIE-LABlab(37.87, -30.52, 14.90)
CIE-LCHlch(37.87, 33.97, 153.98°)
OKLaboklab(45.39% -0.0828 0.0375)
OKLCHoklch(45.39% 0.091 155.6)
XYZxyz(6.2382, 10.0170, 6.4542)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226540 #652247
analogous
#256522 #226540 #226562
triadic
#226540 #402265 #654022
tetradic
#226540 #222565 #652247 #656222
square
#226540 #222565 #652247 #656222
split-complementary
#226540 #622265 #652225
monochromatic
#08170F #133723 #226540 #31935D #42BF7A

Accessibility & contrast

On white

6.99
#226540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#226540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226540
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226540#FFFFFF#000000##FFFFFF
##2265401.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655D3E
Deuteranopia (green-blind)
#5C5742
Tritanopia (blue-blind)
#03645B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226540;
/* rgb */ color: rgb(34, 101, 64);
/* oklch */ color: oklch(45.4% 0.091 155.6);
Tailwind
colors: {
  custom: {
    50: '#659175',
    500: '#226540',
    950: '#000000',
  },
}
SCSS
$custom: #226540;
$custom-light: #659175;
$custom-dark: #000000;
JSON
{
  "hex": "#226540",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 64
  },
  "hsl": {
    "h": 146.866,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45388,
    "c": 0.09093,
    "h": 155.6
  },
  "luminance": 0.10018
}

Semantic roles & 50–950 ramp

primary
#226540
secondary
#994A76
accent
#4F9BD9
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #226540

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

Preview Lab → · Contrast checker → · Palette generator →

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