#226040#226040

#226040 is a dark, moderate green. Relative luminance 0.091; OKLCH L 44.0% C 0.083 H 157.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#226040
RGBrgb(34, 96, 64)
HSLhsl(149, 48%, 25%)
HSVhsv(149, 65%, 38%)
CMYKcmyk(64.6%, 0%, 33.3%, 62.4%)
CIE-LABlab(36.13, -28.21, 12.53)
CIE-LCHlch(36.13, 30.87, 156.05°)
OKLaboklab(43.96% -0.0769 0.0317)
OKLCHoklch(43.96% 0.083 157.6)
XYZxyz(5.7675, 9.0754, 6.2973)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226040 #602242
analogous
#236022 #226040 #22605F
triadic
#226040 #402260 #604022
tetradic
#226040 #222360 #602242 #605F22
square
#226040 #222360 #602242 #605F22
split-complementary
#226040 #5F2260 #602223
monochromatic
#08170F #123322 #226040 #328D5E #42BA7C

Accessibility & contrast

On white

7.46
#226040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#226040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226040
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226040#FFFFFF#000000##FFFFFF
##2260401.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F593E
Deuteranopia (green-blind)
#575342
Tritanopia (blue-blind)
#065F58
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #226040;
/* rgb */ color: rgb(34, 96, 64);
/* oklch */ color: oklch(44.0% 0.083 157.6);
Tailwind
colors: {
  custom: {
    50: '#648e75',
    500: '#226040',
    950: '#000000',
  },
}
SCSS
$custom: #226040;
$custom-light: #648e75;
$custom-dark: #000000;
JSON
{
  "hex": "#226040",
  "rgb": {
    "r": 34,
    "g": 96,
    "b": 64
  },
  "hsl": {
    "h": 149.032,
    "s": 47.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.43958,
    "c": 0.08317,
    "h": 157.6
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#226040
secondary
#944A70
accent
#5196D7
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B

Preview Lab

Preview with #226040

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

Preview Lab → · Contrast checker → · Palette generator →

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