#226D38#226D38

#226D38 is a mid, moderate green. Relative luminance 0.116; OKLCH L 47.5% C 0.111 H 149.6°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#226D38
RGBrgb(34, 109, 56)
HSLhsl(138, 52%, 28%)
HSVhsv(138, 69%, 43%)
CMYKcmyk(68.8%, 0%, 48.6%, 57.3%)
CIE-LABlab(40.51, -35.59, 23.00)
CIE-LCHlch(40.51, 42.38, 147.13°)
OKLaboklab(47.51% -0.096 0.0563)
OKLCHoklch(47.51% 0.111 149.6)
XYZxyz(6.8416, 11.5622, 5.6118)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226D38 #6D2257
analogous
#316D22 #226D38 #226D5D
triadic
#226D38 #38226D #6D3822
tetradic
#226D38 #22316D #6D2257 #6D5D22
square
#226D38 #22316D #6D2257 #6D5D22
split-complementary
#226D38 #5D226D #6D2231
monochromatic
#07170C #133E20 #226D38 #319C50 #45C56A

Accessibility & contrast

On white

6.34
#226D38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#226D38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226D38
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226D38#FFFFFF#000000##FFFFFF
##226D381.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6334
Deuteranopia (green-blind)
#645D3C
Tritanopia (blue-blind)
#046B60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226d38;
/* rgb */ color: rgb(34, 109, 56);
/* oklch */ color: oklch(47.5% 0.111 149.6);
Tailwind
colors: {
  custom: {
    50: '#67986f',
    500: '#226d38',
    950: '#000000',
  },
}
SCSS
$custom: #226d38;
$custom-light: #67986f;
$custom-dark: #000000;
JSON
{
  "hex": "#226d38",
  "rgb": {
    "r": 34,
    "g": 109,
    "b": 56
  },
  "hsl": {
    "h": 137.6,
    "s": 52.448,
    "l": 28.039
  },
  "oklch": {
    "l": 0.47511,
    "c": 0.1113,
    "h": 149.6
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#226D38
secondary
#A14A87
accent
#4CB2DC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #226D38

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

Preview Lab → · Contrast checker → · Palette generator →

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