#226840#226840

#226840 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.2% C 0.096 H 154.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#226840
RGBrgb(34, 104, 64)
HSLhsl(146, 51%, 27%)
HSVhsv(146, 67%, 41%)
CMYKcmyk(67.3%, 0%, 38.5%, 59.2%)
CIE-LABlab(38.92, -31.87, 16.31)
CIE-LCHlch(38.92, 35.80, 152.91°)
OKLaboklab(46.24% -0.0863 0.0409)
OKLCHoklch(46.24% 0.096 154.7)
XYZxyz(6.5349, 10.6102, 6.5531)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226840 #68224A
analogous
#276822 #226840 #226863
triadic
#226840 #402268 #684022
tetradic
#226840 #222768 #68224A #686322
square
#226840 #222768 #68224A #686322
split-complementary
#226840 #632268 #682227
monochromatic
#08170E #133A24 #226840 #31965C #43C279

Accessibility & contrast

On white

6.73
#226840 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226840
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226840#FFFFFF#000000##FFFFFF
##2268401.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#5F5943
Tritanopia (blue-blind)
#01675E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226840;
/* rgb */ color: rgb(34, 104, 64);
/* oklch */ color: oklch(46.2% 0.096 154.7);
Tailwind
colors: {
  custom: {
    50: '#669475',
    500: '#226840',
    950: '#000000',
  },
}
SCSS
$custom: #226840;
$custom-light: #669475;
$custom-dark: #000000;
JSON
{
  "hex": "#226840",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 64
  },
  "hsl": {
    "h": 145.714,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46244,
    "c": 0.09552,
    "h": 154.7
  },
  "luminance": 0.10611
}

Semantic roles & 50–950 ramp

primary
#226840
secondary
#9C4A79
accent
#4E9EDA
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #226840

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

Preview Lab → · Contrast checker → · Palette generator →

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