#226140#226140

#226140 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.085 H 157.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#226140
RGBrgb(34, 97, 64)
HSLhsl(149, 48%, 26%)
HSVhsv(149, 65%, 38%)
CMYKcmyk(64.9%, 0%, 34%, 62%)
CIE-LABlab(36.48, -28.68, 13.01)
CIE-LCHlch(36.48, 31.50, 155.60°)
OKLaboklab(44.24% -0.0781 0.0329)
OKLCHoklch(44.24% 0.085 157.2)
XYZxyz(5.8593, 9.2591, 6.3279)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226140 #612243
analogous
#236122 #226140 #22615F
triadic
#226140 #402261 #614022
tetradic
#226140 #222361 #612243 #615F22
square
#226140 #222361 #612243 #615F22
split-complementary
#226140 #5F2261 #612223
monochromatic
#08170F #123422 #226140 #328E5E #42BC7C

Accessibility & contrast

On white

7.36
#226140 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#226140 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226140
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226140#FFFFFF#000000##FFFFFF
##2261401.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60593E
Deuteranopia (green-blind)
#585342
Tritanopia (blue-blind)
#066058
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #226140;
/* rgb */ color: rgb(34, 97, 64);
/* oklch */ color: oklch(44.2% 0.085 157.2);
Tailwind
colors: {
  custom: {
    50: '#648e75',
    500: '#226140',
    950: '#000000',
  },
}
SCSS
$custom: #226140;
$custom-light: #648e75;
$custom-dark: #000000;
JSON
{
  "hex": "#226140",
  "rgb": {
    "r": 34,
    "g": 97,
    "b": 64
  },
  "hsl": {
    "h": 148.571,
    "s": 48.092,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44244,
    "c": 0.08474,
    "h": 157.2
  },
  "luminance": 0.0926
}

Semantic roles & 50–950 ramp

primary
#226140
secondary
#954A71
accent
#5097D8
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #226140

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

Preview Lab → · Contrast checker → · Palette generator →

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