#226836#226836

#226836 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.0% C 0.106 H 149.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#226836
RGBrgb(34, 104, 54)
HSLhsl(137, 51%, 27%)
HSVhsv(137, 67%, 41%)
CMYKcmyk(67.3%, 0%, 48.1%, 59.2%)
CIE-LABlab(38.74, -33.85, 21.87)
CIE-LCHlch(38.74, 40.30, 147.13°)
OKLaboklab(46.04% -0.0913 0.0536)
OKLCHoklch(46.04% 0.106 149.6)
XYZxyz(6.2754, 10.5064, 5.1865)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226836 #682254
analogous
#316822 #226836 #226859
triadic
#226836 #362268 #683622
tetradic
#226836 #223168 #682254 #685922
square
#226836 #223168 #682254 #685922
split-complementary
#226836 #592268 #682231
monochromatic
#08170C #133A1E #226836 #31964E #43C267

Accessibility & contrast

On white

6.77
#226836 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#226836 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226836
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226836#FFFFFF#000000##FFFFFF
##2268361.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F32
Deuteranopia (green-blind)
#605939
Tritanopia (blue-blind)
#09665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226836;
/* rgb */ color: rgb(34, 104, 54);
/* oklch */ color: oklch(46.0% 0.106 149.6);
Tailwind
colors: {
  custom: {
    50: '#66946e',
    500: '#226836',
    950: '#000000',
  },
}
SCSS
$custom: #226836;
$custom-light: #66946e;
$custom-dark: #000000;
JSON
{
  "hex": "#226836",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 54
  },
  "hsl": {
    "h": 137.143,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46038,
    "c": 0.10593,
    "h": 149.6
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#226836
secondary
#9C4A84
accent
#4EB2DA
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226836

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

Preview Lab → · Contrast checker → · Palette generator →

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