#226920#226920

#226920 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.128 H 142.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#226920
RGBrgb(34, 105, 32)
HSLhsl(118, 53%, 27%)
HSVhsv(118, 70%, 41%)
CMYKcmyk(67.6%, 0%, 69.5%, 58.8%)
CIE-LABlab(38.81, -37.46, 33.51)
CIE-LCHlch(38.81, 50.26, 138.19°)
OKLaboklab(46% -0.1019 0.0774)
OKLCHoklch(46% 0.128 142.8)
XYZxyz(5.9716, 10.5469, 3.0873)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226920 #672069
analogous
#476920 #226920 #206943
triadic
#226920 #202269 #692022
tetradic
#226920 #204769 #672069 #694320
square
#226920 #204769 #672069 #694320
split-complementary
#226920 #432069 #692047
monochromatic
#081707 #133A12 #226920 #31982E #43C43F

Accessibility & contrast

On white

6.75
#226920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226920
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226920#FFFFFF#000000##FFFFFF
##2269201.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F17
Deuteranopia (green-blind)
#635927
Tritanopia (blue-blind)
#13665A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226920;
/* rgb */ color: rgb(34, 105, 32);
/* oklch */ color: oklch(46.0% 0.128 142.8);
Tailwind
colors: {
  custom: {
    50: '#67955f',
    500: '#226920',
    950: '#000000',
  },
}
SCSS
$custom: #226920;
$custom-light: #67955f;
$custom-dark: #000000;
JSON
{
  "hex": "#226920",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 32
  },
  "hsl": {
    "h": 118.356,
    "s": 53.285,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46004,
    "c": 0.12795,
    "h": 142.8
  },
  "luminance": 0.10548
}

Semantic roles & 50–950 ramp

primary
#226920
secondary
#9B489D
accent
#4BDDD9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #226920

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

Preview Lab → · Contrast checker → · Palette generator →

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