#226937#226937

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

Color values

HEX#226937
RGBrgb(34, 105, 55)
HSLhsl(138, 51%, 27%)
HSVhsv(138, 68%, 41%)
CMYKcmyk(67.6%, 0%, 47.6%, 58.8%)
CIE-LABlab(39.10, -34.09, 21.77)
CIE-LCHlch(39.10, 40.45, 147.43°)
OKLaboklab(46.34% -0.092 0.0535)
OKLCHoklch(46.34% 0.106 149.8)
XYZxyz(6.4004, 10.7184, 5.3452)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226937 #692254
analogous
#316922 #226937 #22695A
triadic
#226937 #372269 #693722
tetradic
#226937 #223169 #692254 #695A22
square
#226937 #223169 #692254 #695A22
split-complementary
#226937 #5A2269 #692231
monochromatic
#07170C #133B1F #226937 #31974F #43C269

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226937#FFFFFF#000000##FFFFFF
##2269371.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)
#6A6033
Deuteranopia (green-blind)
#615A3A
Tritanopia (blue-blind)
#08675D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226937;
/* rgb */ color: rgb(34, 105, 55);
/* oklch */ color: oklch(46.3% 0.106 149.8);
Tailwind
colors: {
  custom: {
    50: '#66946e',
    500: '#226937',
    950: '#000000',
  },
}
SCSS
$custom: #226937;
$custom-light: #66946e;
$custom-dark: #000000;
JSON
{
  "hex": "#226937",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 55
  },
  "hsl": {
    "h": 137.746,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46344,
    "c": 0.1064,
    "h": 149.8
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#226937
secondary
#9D4A84
accent
#4DB1DB
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226937

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

Preview Lab → · Contrast checker → · Palette generator →

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