#226B22#226B22

#226B22 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.129 H 143.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#226B22
RGBrgb(34, 107, 34)
HSLhsl(120, 52%, 28%)
HSVhsv(120, 68%, 42%)
CMYKcmyk(68.2%, 0%, 68.2%, 58%)
CIE-LABlab(39.53, -38.02, 33.36)
CIE-LCHlch(39.53, 50.58, 138.73°)
OKLaboklab(46.61% -0.1032 0.0774)
OKLCHoklch(46.61% 0.129 143.2)
XYZxyz(6.2058, 10.9703, 3.3035)
Luminance0.1097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226B22 #6B226B
analogous
#466B22 #226B22 #226B46
triadic
#226B22 #22226B #6B2222
tetradic
#226B22 #22466B #6B226B #6B4622
square
#226B22 #22466B #6B226B #6B4622
split-complementary
#226B22 #46226B #6B2246
monochromatic
#071707 #133D13 #226B22 #319931 #44C444

Accessibility & contrast

On white

6.57
#226B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#226B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226B22
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226B22#FFFFFF#000000##FFFFFF
##226B221.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6119
Deuteranopia (green-blind)
#645B28
Tritanopia (blue-blind)
#12685C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226b22;
/* rgb */ color: rgb(34, 107, 34);
/* oklch */ color: oklch(46.6% 0.129 143.2);
Tailwind
colors: {
  custom: {
    50: '#689661',
    500: '#226b22',
    950: '#000000',
  },
}
SCSS
$custom: #226b22;
$custom-light: #689661;
$custom-dark: #000000;
JSON
{
  "hex": "#226b22",
  "rgb": {
    "r": 34,
    "g": 107,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46609,
    "c": 0.12902,
    "h": 143.2
  },
  "luminance": 0.10971
}

Semantic roles & 50–950 ramp

primary
#226B22
secondary
#9F4A9F
accent
#4DDBDB
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #226B22

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

Preview Lab → · Contrast checker → · Palette generator →

#226B22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva