#226936#226936

#226936 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.107 H 149.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#226936
RGBrgb(34, 105, 54)
HSLhsl(137, 51%, 27%)
HSVhsv(137, 68%, 41%)
CMYKcmyk(67.6%, 0%, 48.6%, 58.8%)
CIE-LABlab(39.09, -34.27, 22.32)
CIE-LCHlch(39.09, 40.90, 146.93°)
OKLaboklab(46.33% -0.0925 0.0547)
OKLCHoklch(46.33% 0.107 149.4)
XYZxyz(6.3766, 10.7089, 5.2203)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226936 #692255
analogous
#326922 #226936 #226959
triadic
#226936 #362269 #693622
tetradic
#226936 #223269 #692255 #695922
square
#226936 #223269 #692255 #695922
split-complementary
#226936 #592269 #692232
monochromatic
#07170C #133B1E #226936 #31974E #43C267

Accessibility & contrast

On white

6.68
#226936 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#226936 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226936
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226936#FFFFFF#000000##FFFFFF
##2269361.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6032
Deuteranopia (green-blind)
#615A3A
Tritanopia (blue-blind)
#09675D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226936;
/* rgb */ color: rgb(34, 105, 54);
/* oklch */ color: oklch(46.3% 0.107 149.4);
Tailwind
colors: {
  custom: {
    50: '#66946e',
    500: '#226936',
    950: '#000000',
  },
}
SCSS
$custom: #226936;
$custom-light: #66946e;
$custom-dark: #000000;
JSON
{
  "hex": "#226936",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 54
  },
  "hsl": {
    "h": 136.901,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46325,
    "c": 0.10743,
    "h": 149.4
  },
  "luminance": 0.1071
}

Semantic roles & 50–950 ramp

primary
#226936
secondary
#9D4A85
accent
#4DB3DB
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226936

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

Preview Lab → · Contrast checker → · Palette generator →

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