#226922#226922

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

Color values

HEX#226922
RGBrgb(34, 105, 34)
HSLhsl(120, 51%, 27%)
HSVhsv(120, 68%, 41%)
CMYKcmyk(67.6%, 0%, 67.6%, 58.8%)
CIE-LABlab(38.83, -37.24, 32.58)
CIE-LCHlch(38.83, 49.48, 138.81°)
OKLaboklab(46.03% -0.1011 0.0757)
OKLCHoklch(46.03% 0.126 143.2)
XYZxyz(5.9996, 10.5581, 3.2348)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226922 #692269
analogous
#466922 #226922 #226946
triadic
#226922 #222269 #692222
tetradic
#226922 #224669 #692269 #694622
square
#226922 #224669 #692269 #694622
split-complementary
#226922 #462269 #692246
monochromatic
#071707 #133B13 #226922 #319731 #43C243

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226922#FFFFFF#000000##FFFFFF
##2269221.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)
#6B5F19
Deuteranopia (green-blind)
#635928
Tritanopia (blue-blind)
#13665A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226922;
/* rgb */ color: rgb(34, 105, 34);
/* oklch */ color: oklch(46.0% 0.126 143.2);
Tailwind
colors: {
  custom: {
    50: '#679560',
    500: '#226922',
    950: '#000000',
  },
}
SCSS
$custom: #226922;
$custom-light: #679560;
$custom-dark: #000000;
JSON
{
  "hex": "#226922",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 34
  },
  "hsl": {
    "h": 120,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.46027,
    "c": 0.12633,
    "h": 143.2
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#226922
secondary
#9D4A9D
accent
#4DDBDB
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070D05
muted
#7A7E79

Preview Lab

Preview with #226922

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

Preview Lab → · Contrast checker → · Palette generator →

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