#226841#226841

#226841 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.3% C 0.095 H 155.3°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#226841
RGBrgb(34, 104, 65)
HSLhsl(147, 51%, 27%)
HSVhsv(147, 67%, 41%)
CMYKcmyk(67.3%, 0%, 37.5%, 59.2%)
CIE-LABlab(38.94, -31.66, 15.74)
CIE-LCHlch(38.94, 35.36, 153.56°)
OKLaboklab(46.27% -0.0858 0.0395)
OKLCHoklch(46.27% 0.095 155.3)
XYZxyz(6.5636, 10.6217, 6.7043)
Luminance0.1062 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226841 #682249
analogous
#266822 #226841 #226864
triadic
#226841 #412268 #684122
tetradic
#226841 #222668 #682249 #686422
square
#226841 #222668 #682249 #686422
split-complementary
#226841 #642268 #682226
monochromatic
#08170E #133A24 #226841 #31965E #43C27B

Accessibility & contrast

On white

6.72
#226841 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#226841 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226841
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226841#FFFFFF#000000##FFFFFF
##2268411.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68603E
Deuteranopia (green-blind)
#5E5944
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226841;
/* rgb */ color: rgb(34, 104, 65);
/* oklch */ color: oklch(46.3% 0.095 155.3);
Tailwind
colors: {
  custom: {
    50: '#669476',
    500: '#226841',
    950: '#000000',
  },
}
SCSS
$custom: #226841;
$custom-light: #669476;
$custom-dark: #000000;
JSON
{
  "hex": "#226841",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 65
  },
  "hsl": {
    "h": 146.571,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.0945,
    "h": 155.3
  },
  "luminance": 0.10622
}

Semantic roles & 50–950 ramp

primary
#226841
secondary
#9C4A78
accent
#4E9CDA
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #226841

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

Preview Lab → · Contrast checker → · Palette generator →

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