#226340#226340

#226340 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.8% C 0.088 H 156.4°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#226340
RGBrgb(34, 99, 64)
HSLhsl(148, 49%, 26%)
HSVhsv(148, 66%, 39%)
CMYKcmyk(65.7%, 0%, 35.4%, 61.2%)
CIE-LABlab(37.18, -29.61, 13.96)
CIE-LCHlch(37.18, 32.74, 154.76°)
OKLaboklab(44.82% -0.0805 0.0352)
OKLCHoklch(44.82% 0.088 156.4)
XYZxyz(6.0464, 9.6333, 6.3903)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226340 #632245
analogous
#246322 #226340 #226360
triadic
#226340 #402263 #634022
tetradic
#226340 #222463 #632245 #636022
square
#226340 #222463 #632245 #636022
split-complementary
#226340 #602263 #632224
monochromatic
#08170F #123523 #226340 #32915D #41BE7B

Accessibility & contrast

On white

7.18
#226340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #226340
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226340#FFFFFF#000000##FFFFFF
##2263401.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625B3E
Deuteranopia (green-blind)
#5A5542
Tritanopia (blue-blind)
#04625A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #226340;
/* rgb */ color: rgb(34, 99, 64);
/* oklch */ color: oklch(44.8% 0.088 156.4);
Tailwind
colors: {
  custom: {
    50: '#659075',
    500: '#226340',
    950: '#000000',
  },
}
SCSS
$custom: #226340;
$custom-light: #659075;
$custom-dark: #000000;
JSON
{
  "hex": "#226340",
  "rgb": {
    "r": 34,
    "g": 99,
    "b": 64
  },
  "hsl": {
    "h": 147.692,
    "s": 48.872,
    "l": 26.078
  },
  "oklch": {
    "l": 0.44816,
    "c": 0.08785,
    "h": 156.4
  },
  "luminance": 0.09634
}

Semantic roles & 50–950 ramp

primary
#226340
secondary
#974A73
accent
#4F99D8
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #226340

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

Preview Lab → · Contrast checker → · Palette generator →

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