#226642#226642

#226642 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.7% C 0.090 H 156.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#226642
RGBrgb(34, 102, 66)
HSLhsl(148, 50%, 27%)
HSVhsv(148, 67%, 40%)
CMYKcmyk(66.7%, 0%, 35.3%, 60%)
CIE-LABlab(38.26, -30.54, 14.24)
CIE-LCHlch(38.26, 33.69, 155.00°)
OKLaboklab(45.72% -0.083 0.0359)
OKLCHoklch(45.72% 0.09 156.6)
XYZxyz(6.3939, 10.2355, 6.7919)
Luminance0.1024 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226642 #662246
analogous
#246622 #226642 #226664
triadic
#226642 #422266 #664222
tetradic
#226642 #222466 #662246 #666422
square
#226642 #222466 #662246 #666422
split-complementary
#226642 #642266 #662224
monochromatic
#08170F #133824 #226642 #319460 #42C07E

Accessibility & contrast

On white

6.89
#226642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#226642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226642
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226642#FFFFFF#000000##FFFFFF
##2266421.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655E40
Deuteranopia (green-blind)
#5C5744
Tritanopia (blue-blind)
#00655D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226642;
/* rgb */ color: rgb(34, 102, 66);
/* oklch */ color: oklch(45.7% 0.090 156.6);
Tailwind
colors: {
  custom: {
    50: '#659276',
    500: '#226642',
    950: '#000000',
  },
}
SCSS
$custom: #226642;
$custom-light: #659276;
$custom-dark: #000000;
JSON
{
  "hex": "#226642",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 66
  },
  "hsl": {
    "h": 148.235,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.09042,
    "h": 156.6
  },
  "luminance": 0.10236
}

Semantic roles & 50–950 ramp

primary
#226642
secondary
#9A4A74
accent
#4E98DA
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #226642

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

Preview Lab → · Contrast checker → · Palette generator →

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