#226D2B#226D2B

#226D2B is a mid, vivid green. Relative luminance 0.115; OKLCH L 47.3% C 0.124 H 145.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#226D2B
RGBrgb(34, 109, 43)
HSLhsl(127, 52%, 28%)
HSVhsv(127, 69%, 43%)
CMYKcmyk(68.8%, 0%, 60.6%, 57.3%)
CIE-LABlab(40.33, -37.66, 29.82)
CIE-LCHlch(40.33, 48.04, 141.63°)
OKLaboklab(47.3% -0.1019 0.0707)
OKLCHoklch(47.3% 0.124 145.2)
XYZxyz(6.5639, 11.4511, 4.1494)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226D2B #6D2264
analogous
#3E6D22 #226D2B #226D50
triadic
#226D2B #2B226D #6D2B22
tetradic
#226D2B #223E6D #6D2264 #6D5022
square
#226D2B #223E6D #6D2264 #6D5022
split-complementary
#226D2B #50226D #6D223E
monochromatic
#071709 #133E19 #226D2B #319C3D #45C554

Accessibility & contrast

On white

6.38
#226D2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#226D2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226D2B
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226D2B#FFFFFF#000000##FFFFFF
##226D2B1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6324
Deuteranopia (green-blind)
#665D30
Tritanopia (blue-blind)
#0D6A5E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226d2b;
/* rgb */ color: rgb(34, 109, 43);
/* oklch */ color: oklch(47.3% 0.124 145.2);
Tailwind
colors: {
  custom: {
    50: '#689866',
    500: '#226d2b',
    950: '#000000',
  },
}
SCSS
$custom: #226d2b;
$custom-light: #689866;
$custom-dark: #000000;
JSON
{
  "hex": "#226d2b",
  "rgb": {
    "r": 34,
    "g": 109,
    "b": 43
  },
  "hsl": {
    "h": 127.2,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47302,
    "c": 0.12397,
    "h": 145.2
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#226D2B
secondary
#A14A96
accent
#4CCBDC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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