#226C38#226C38

#226C38 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.2% C 0.110 H 149.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#226C38
RGBrgb(34, 108, 56)
HSLhsl(138, 52%, 28%)
HSVhsv(138, 69%, 42%)
CMYKcmyk(68.5%, 0%, 48.1%, 57.6%)
CIE-LABlab(40.16, -35.18, 22.56)
CIE-LCHlch(40.16, 41.79, 147.32°)
OKLaboklab(47.22% -0.0949 0.0553)
OKLCHoklch(47.22% 0.11 149.8)
XYZxyz(6.7355, 11.3500, 5.5764)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226C38 #6C2256
analogous
#316C22 #226C38 #226C5D
triadic
#226C38 #38226C #6C3822
tetradic
#226C38 #22316C #6C2256 #6C5D22
square
#226C38 #22316C #6C2256 #6C5D22
split-complementary
#226C38 #5D226C #6C2231
monochromatic
#07170C #133D20 #226C38 #319B50 #44C46A

Accessibility & contrast

On white

6.42
#226C38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#226C38 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226C38
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226C38#FFFFFF#000000##FFFFFF
##226C381.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6334
Deuteranopia (green-blind)
#635C3C
Tritanopia (blue-blind)
#056A60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #226c38;
/* rgb */ color: rgb(34, 108, 56);
/* oklch */ color: oklch(47.2% 0.110 149.8);
Tailwind
colors: {
  custom: {
    50: '#67976f',
    500: '#226c38',
    950: '#000000',
  },
}
SCSS
$custom: #226c38;
$custom-light: #67976f;
$custom-dark: #000000;
JSON
{
  "hex": "#226c38",
  "rgb": {
    "r": 34,
    "g": 108,
    "b": 56
  },
  "hsl": {
    "h": 137.838,
    "s": 52.113,
    "l": 27.843
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.10983,
    "h": 149.8
  },
  "luminance": 0.11351
}

Semantic roles & 50–950 ramp

primary
#226C38
secondary
#A04A86
accent
#4CB1DC
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226C38

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

Preview Lab → · Contrast checker → · Palette generator →

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