#226232#226232

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

Color values

HEX#226232
RGBrgb(34, 98, 50)
HSLhsl(135, 48%, 26%)
HSVhsv(135, 65%, 38%)
CMYKcmyk(65.3%, 0%, 49%, 61.6%)
CIE-LABlab(36.57, -31.98, 21.39)
CIE-LCHlch(36.57, 38.48, 146.23°)
OKLaboklab(44.23% -0.0864 0.0524)
OKLCHoklch(44.23% 0.101 148.8)
XYZxyz(5.6027, 9.3052, 4.5178)
Luminance0.0931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226232 #622252
analogous
#326222 #226232 #226252
triadic
#226232 #322262 #623222
tetradic
#226232 #223262 #622252 #625222
square
#226232 #223262 #622252 #625222
split-complementary
#226232 #522262 #622232
monochromatic
#08170C #12351B #226232 #328F49 #42BD60

Accessibility & contrast

On white

7.34
#226232 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#226232 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226232
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226232#FFFFFF#000000##FFFFFF
##2262321.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63592E
Deuteranopia (green-blind)
#5B5435
Tritanopia (blue-blind)
#106057
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #226232;
/* rgb */ color: rgb(34, 98, 50);
/* oklch */ color: oklch(44.2% 0.101 148.8);
Tailwind
colors: {
  custom: {
    50: '#658f6b',
    500: '#226232',
    950: '#000000',
  },
}
SCSS
$custom: #226232;
$custom-light: #658f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#226232",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 50
  },
  "hsl": {
    "h": 135,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44229,
    "c": 0.10103,
    "h": 148.8
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#226232
secondary
#964A83
accent
#50B6D8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A

Preview Lab

Preview with #226232

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

Preview Lab → · Contrast checker → · Palette generator →

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