#226342#226342

#226342 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.9% C 0.086 H 157.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#226342
RGBrgb(34, 99, 66)
HSLhsl(150, 49%, 26%)
HSVhsv(150, 66%, 39%)
CMYKcmyk(65.7%, 0%, 33.3%, 61.2%)
CIE-LABlab(37.22, -29.16, 12.82)
CIE-LCHlch(37.22, 31.85, 156.27°)
OKLaboklab(44.87% -0.0794 0.0324)
OKLCHoklch(44.87% 0.086 157.8)
XYZxyz(6.1043, 9.6565, 6.6954)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226342 #632243
analogous
#236322 #226342 #226362
triadic
#226342 #422263 #634222
tetradic
#226342 #222363 #632243 #636222
square
#226342 #222363 #632243 #636222
split-complementary
#226342 #622263 #632223
monochromatic
#08170F #123524 #226342 #329160 #41BE7F

Accessibility & contrast

On white

7.16
#226342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#226342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226342
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226342#FFFFFF#000000##FFFFFF
##2263421.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B40
Deuteranopia (green-blind)
#595544
Tritanopia (blue-blind)
#03625A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #226342;
/* rgb */ color: rgb(34, 99, 66);
/* oklch */ color: oklch(44.9% 0.086 157.8);
Tailwind
colors: {
  custom: {
    50: '#659076',
    500: '#226342',
    950: '#000000',
  },
}
SCSS
$custom: #226342;
$custom-light: #659076;
$custom-dark: #000000;
JSON
{
  "hex": "#226342",
  "rgb": {
    "r": 34,
    "g": 99,
    "b": 66
  },
  "hsl": {
    "h": 149.538,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44865,
    "c": 0.0858,
    "h": 157.8
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#226342
secondary
#974A71
accent
#4F95D8
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #226342

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

Preview Lab → · Contrast checker → · Palette generator →

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