#226938#226938

#226938 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.4% C 0.105 H 150.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#226938
RGBrgb(34, 105, 56)
HSLhsl(139, 51%, 27%)
HSVhsv(139, 68%, 41%)
CMYKcmyk(67.6%, 0%, 46.7%, 58.8%)
CIE-LABlab(39.12, -33.90, 21.22)
CIE-LCHlch(39.12, 40.00, 147.96°)
OKLaboklab(46.36% -0.0915 0.0522)
OKLCHoklch(46.36% 0.105 150.3)
XYZxyz(6.4246, 10.7281, 5.4728)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226938 #692253
analogous
#2F6922 #226938 #22695C
triadic
#226938 #382269 #693822
tetradic
#226938 #222F69 #692253 #695C22
square
#226938 #222F69 #692253 #695C22
split-complementary
#226938 #5C2269 #69222F
monochromatic
#07170C #133B1F #226938 #319751 #43C26B

Accessibility & contrast

On white

6.68
#226938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#226938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226938
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226938#FFFFFF#000000##FFFFFF
##2269381.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6034
Deuteranopia (green-blind)
#615A3B
Tritanopia (blue-blind)
#07675D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226938;
/* rgb */ color: rgb(34, 105, 56);
/* oklch */ color: oklch(46.4% 0.105 150.3);
Tailwind
colors: {
  custom: {
    50: '#66946f',
    500: '#226938',
    950: '#000000',
  },
}
SCSS
$custom: #226938;
$custom-light: #66946f;
$custom-dark: #000000;
JSON
{
  "hex": "#226938",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 56
  },
  "hsl": {
    "h": 138.592,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.10536,
    "h": 150.3
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#226938
secondary
#9D4A83
accent
#4DAFDB
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226938

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

Preview Lab → · Contrast checker → · Palette generator →

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