#226838#226838

#226838 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.104 H 150.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#226838
RGBrgb(34, 104, 56)
HSLhsl(139, 51%, 27%)
HSVhsv(139, 67%, 41%)
CMYKcmyk(67.3%, 0%, 46.2%, 59.2%)
CIE-LABlab(38.77, -33.48, 20.77)
CIE-LCHlch(38.77, 39.40, 148.18°)
OKLaboklab(46.08% -0.0904 0.0512)
OKLCHoklch(46.08% 0.104 150.5)
XYZxyz(6.3233, 10.5256, 5.4390)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226838 #682252
analogous
#2F6822 #226838 #22685B
triadic
#226838 #382268 #683822
tetradic
#226838 #222F68 #682252 #685B22
square
#226838 #222F68 #682252 #685B22
split-complementary
#226838 #5B2268 #68222F
monochromatic
#08170C #133A1F #226838 #319651 #43C26B

Accessibility & contrast

On white

6.76
#226838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#226838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226838
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226838#FFFFFF#000000##FFFFFF
##2268381.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F34
Deuteranopia (green-blind)
#60593B
Tritanopia (blue-blind)
#08665C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226838;
/* rgb */ color: rgb(34, 104, 56);
/* oklch */ color: oklch(46.1% 0.104 150.5);
Tailwind
colors: {
  custom: {
    50: '#66946f',
    500: '#226838',
    950: '#000000',
  },
}
SCSS
$custom: #226838;
$custom-light: #66946f;
$custom-dark: #000000;
JSON
{
  "hex": "#226838",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 56
  },
  "hsl": {
    "h": 138.857,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.10386,
    "h": 150.5
  },
  "luminance": 0.10526
}

Semantic roles & 50–950 ramp

primary
#226838
secondary
#9C4A82
accent
#4EAEDA
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226838

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

Preview Lab → · Contrast checker → · Palette generator →

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