#226945#226945

#226945 is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.6% C 0.092 H 157.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#226945
RGBrgb(34, 105, 69)
HSLhsl(150, 51%, 27%)
HSVhsv(150, 68%, 41%)
CMYKcmyk(67.6%, 0%, 34.3%, 58.8%)
CIE-LABlab(39.36, -31.23, 13.95)
CIE-LCHlch(39.36, 34.20, 155.93°)
OKLaboklab(46.65% -0.0849 0.0352)
OKLCHoklch(46.65% 0.092 157.5)
XYZxyz(6.7848, 10.8722, 7.3700)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226945 #692246
analogous
#236922 #226945 #226968
triadic
#226945 #452269 #694522
tetradic
#226945 #222369 #692246 #696822
square
#226945 #222369 #692246 #696822
split-complementary
#226945 #682269 #692223
monochromatic
#07170F #133B27 #226945 #319763 #43C282

Accessibility & contrast

On white

6.62
#226945 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#226945 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226945
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226945#FFFFFF#000000##FFFFFF
##2269451.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686143
Deuteranopia (green-blind)
#5F5A47
Tritanopia (blue-blind)
#006860
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226945;
/* rgb */ color: rgb(34, 105, 69);
/* oklch */ color: oklch(46.6% 0.092 157.5);
Tailwind
colors: {
  custom: {
    50: '#669479',
    500: '#226945',
    950: '#000000',
  },
}
SCSS
$custom: #226945;
$custom-light: #669479;
$custom-dark: #000000;
JSON
{
  "hex": "#226945",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 69
  },
  "hsl": {
    "h": 149.577,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46646,
    "c": 0.09194,
    "h": 157.5
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#226945
secondary
#9D4A74
accent
#4D95DB
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D09
muted
#7A7E7B

Preview Lab

Preview with #226945

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

Preview Lab → · Contrast checker → · Palette generator →

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