#226B2B#226B2B

#226B2B is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.121 H 145.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#226B2B
RGBrgb(34, 107, 43)
HSLhsl(127, 52%, 28%)
HSVhsv(127, 68%, 42%)
CMYKcmyk(68.2%, 0%, 59.8%, 58%)
CIE-LABlab(39.63, -36.87, 28.99)
CIE-LCHlch(39.63, 46.90, 141.82°)
OKLaboklab(46.72% -0.0997 0.0689)
OKLCHoklch(46.72% 0.121 145.4)
XYZxyz(6.3530, 11.0292, 4.0791)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226B2B #6B2262
analogous
#3E6B22 #226B2B #226B4F
triadic
#226B2B #2B226B #6B2B22
tetradic
#226B2B #223E6B #6B2262 #6B4F22
square
#226B2B #223E6B #6B2262 #6B4F22
split-complementary
#226B2B #4F226B #6B223E
monochromatic
#071709 #133D18 #226B2B #31993E #44C454

Accessibility & contrast

On white

6.55
#226B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#226B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226B2B
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226B2B#FFFFFF#000000##FFFFFF
##226B2B1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6125
Deuteranopia (green-blind)
#645B30
Tritanopia (blue-blind)
#0E685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226b2b;
/* rgb */ color: rgb(34, 107, 43);
/* oklch */ color: oklch(46.7% 0.121 145.4);
Tailwind
colors: {
  custom: {
    50: '#679666',
    500: '#226b2b',
    950: '#000000',
  },
}
SCSS
$custom: #226b2b;
$custom-light: #679666;
$custom-dark: #000000;
JSON
{
  "hex": "#226b2b",
  "rgb": {
    "r": 34,
    "g": 107,
    "b": 43
  },
  "hsl": {
    "h": 127.397,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46723,
    "c": 0.12118,
    "h": 145.4
  },
  "luminance": 0.1103
}

Semantic roles & 50–950 ramp

primary
#226B2B
secondary
#9F4A94
accent
#4DCADB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #226B2B

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

Preview Lab → · Contrast checker → · Palette generator →

#226B2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva