#226726#226726

#226726 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.5% C 0.120 H 144.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#226726
RGBrgb(34, 103, 38)
HSLhsl(123, 50%, 27%)
HSVhsv(123, 67%, 40%)
CMYKcmyk(67%, 0%, 63.1%, 59.6%)
CIE-LABlab(38.16, -35.94, 29.86)
CIE-LCHlch(38.16, 46.73, 140.28°)
OKLaboklab(45.49% -0.0974 0.0703)
OKLCHoklch(45.49% 0.12 144.2)
XYZxyz(5.8594, 10.1799, 3.4895)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226726 #672263
analogous
#416722 #226726 #226749
triadic
#226726 #262267 #672622
tetradic
#226726 #224167 #672263 #674922
square
#226726 #224167 #672263 #674922
split-complementary
#226726 #492267 #672241
monochromatic
#081708 #133915 #226726 #319537 #43C14A

Accessibility & contrast

On white

6.92
#226726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#226726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226726
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226726#FFFFFF#000000##FFFFFF
##2267261.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D1F
Deuteranopia (green-blind)
#60582B
Tritanopia (blue-blind)
#126459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226726;
/* rgb */ color: rgb(34, 103, 38);
/* oklch */ color: oklch(45.5% 0.120 144.2);
Tailwind
colors: {
  custom: {
    50: '#669363',
    500: '#226726',
    950: '#000000',
  },
}
SCSS
$custom: #226726;
$custom-light: #669363;
$custom-dark: #000000;
JSON
{
  "hex": "#226726",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 38
  },
  "hsl": {
    "h": 123.478,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45493,
    "c": 0.12014,
    "h": 144.2
  },
  "luminance": 0.10181
}

Semantic roles & 50–950 ramp

primary
#226726
secondary
#9B4A96
accent
#4ED2DA
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #226726

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

Preview Lab → · Contrast checker → · Palette generator →

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