#226940#226940

#226940 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.5% C 0.097 H 154.4°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#226940
RGBrgb(34, 105, 64)
HSLhsl(145, 51%, 27%)
HSVhsv(145, 68%, 41%)
CMYKcmyk(67.6%, 0%, 39%, 58.8%)
CIE-LABlab(39.26, -32.32, 16.77)
CIE-LCHlch(39.26, 36.41, 152.57°)
OKLaboklab(46.53% -0.0875 0.042)
OKLCHoklch(46.53% 0.097 154.4)
XYZxyz(6.6361, 10.8127, 6.5868)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226940 #69224B
analogous
#286922 #226940 #226964
triadic
#226940 #402269 #694022
tetradic
#226940 #222869 #69224B #696422
square
#226940 #222869 #69224B #696422
split-complementary
#226940 #642269 #692228
monochromatic
#07170E #133B24 #226940 #31975C #43C279

Accessibility & contrast

On white

6.64
#226940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#226940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226940
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226940#FFFFFF#000000##FFFFFF
##2269401.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69603D
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#00685F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #226940;
/* rgb */ color: rgb(34, 105, 64);
/* oklch */ color: oklch(46.5% 0.097 154.4);
Tailwind
colors: {
  custom: {
    50: '#669475',
    500: '#226940',
    950: '#000000',
  },
}
SCSS
$custom: #226940;
$custom-light: #669475;
$custom-dark: #000000;
JSON
{
  "hex": "#226940",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 64
  },
  "hsl": {
    "h": 145.352,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46529,
    "c": 0.09705,
    "h": 154.4
  },
  "luminance": 0.10813
}

Semantic roles & 50–950 ramp

primary
#226940
secondary
#9D4A7A
accent
#4D9FDB
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #226940

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

Preview Lab → · Contrast checker → · Palette generator →

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