#226816#226816

#226816 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.134 H 141.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#226816
RGBrgb(34, 104, 22)
HSLhsl(111, 65%, 25%)
HSVhsv(111, 79%, 41%)
CMYKcmyk(67.3%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.37, -38.03, 37.33)
CIE-LCHlch(38.37, 53.29, 135.53°)
OKLaboklab(45.62% -0.104 0.0841)
OKLCHoklch(45.62% 0.134 141)
XYZxyz(5.7545, 10.2981, 2.4434)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226816 #5C1668
analogous
#4B6816 #226816 #166833
triadic
#226816 #162268 #681622
tetradic
#226816 #164B68 #5C1668 #683316
square
#226816 #164B68 #5C1668 #683316
split-complementary
#226816 #331668 #68164B
monochromatic
#081905 #11350B #226816 #339B21 #43CD2B

Accessibility & contrast

On white

6.86
#226816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#226816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226816
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226816#FFFFFF#000000##FFFFFF
##2268161.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E06
Deuteranopia (green-blind)
#62581F
Tritanopia (blue-blind)
#166558
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226816;
/* rgb */ color: rgb(34, 104, 22);
/* oklch */ color: oklch(45.6% 0.134 141.0);
Tailwind
colors: {
  custom: {
    50: '#68945a',
    500: '#226816',
    950: '#000000',
  },
}
SCSS
$custom: #226816;
$custom-light: #68945a;
$custom-dark: #000000;
JSON
{
  "hex": "#226816",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 111.22,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45619,
    "c": 0.13372,
    "h": 141
  },
  "luminance": 0.10299
}

Semantic roles & 50–950 ramp

primary
#226816
secondary
#903B9F
accent
#40E8CF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226816

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

Preview Lab → · Contrast checker → · Palette generator →

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