#226832#226832

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

Color values

HEX#226832
RGBrgb(34, 104, 50)
HSLhsl(134, 51%, 27%)
HSVhsv(134, 67%, 41%)
CMYKcmyk(67.3%, 0%, 51.9%, 59.2%)
CIE-LABlab(38.67, -34.55, 24.05)
CIE-LCHlch(38.67, 42.09, 145.16°)
OKLaboklab(45.97% -0.0933 0.0584)
OKLCHoklch(45.97% 0.11 147.9)
XYZxyz(6.1853, 10.4704, 4.7120)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226832 #682258
analogous
#356822 #226832 #226855
triadic
#226832 #322268 #683222
tetradic
#226832 #223568 #682258 #685522
square
#226832 #223568 #682258 #685522
split-complementary
#226832 #552268 #682235
monochromatic
#08170B #133A1C #226832 #319648 #43C260

Accessibility & contrast

On white

6.79
#226832 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#226832 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226832
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226832#FFFFFF#000000##FFFFFF
##2268321.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F2E
Deuteranopia (green-blind)
#605936
Tritanopia (blue-blind)
#0C665B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226832;
/* rgb */ color: rgb(34, 104, 50);
/* oklch */ color: oklch(46.0% 0.110 147.9);
Tailwind
colors: {
  custom: {
    50: '#66946b',
    500: '#226832',
    950: '#000000',
  },
}
SCSS
$custom: #226832;
$custom-light: #66946b;
$custom-dark: #000000;
JSON
{
  "hex": "#226832",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 50
  },
  "hsl": {
    "h": 133.714,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45966,
    "c": 0.11004,
    "h": 147.9
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#226832
secondary
#9C4A89
accent
#4EBADA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226832

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

Preview Lab → · Contrast checker → · Palette generator →

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