#226716#226716

#226716 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.132 H 141.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#226716
RGBrgb(34, 103, 22)
HSLhsl(111, 65%, 25%)
HSVhsv(111, 79%, 40%)
CMYKcmyk(67%, 0%, 78.6%, 59.6%)
CIE-LABlab(38.02, -37.65, 36.98)
CIE-LCHlch(38.02, 52.77, 135.51°)
OKLaboklab(45.33% -0.1029 0.0833)
OKLCHoklch(45.33% 0.132 141)
XYZxyz(5.6545, 10.0980, 2.4100)
Luminance0.1010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226716 #5B1667
analogous
#4B6716 #226716 #166733
triadic
#226716 #162267 #671622
tetradic
#226716 #164B67 #5B1667 #673316
square
#226716 #164B67 #5B1667 #673316
split-complementary
#226716 #331667 #67164B
monochromatic
#081905 #11350B #226716 #339921 #43CC2C

Accessibility & contrast

On white

6.95
#226716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#226716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226716
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226716#FFFFFF#000000##FFFFFF
##2267161.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D06
Deuteranopia (green-blind)
#61571F
Tritanopia (blue-blind)
#166457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226716;
/* rgb */ color: rgb(34, 103, 22);
/* oklch */ color: oklch(45.3% 0.132 141.0);
Tailwind
colors: {
  custom: {
    50: '#679359',
    500: '#226716',
    950: '#000000',
  },
}
SCSS
$custom: #226716;
$custom-light: #679359;
$custom-dark: #000000;
JSON
{
  "hex": "#226716",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 111.111,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45326,
    "c": 0.13245,
    "h": 141
  },
  "luminance": 0.10099
}

Semantic roles & 50–950 ramp

primary
#226716
secondary
#8F3B9E
accent
#40E8CF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226716

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

Preview Lab → · Contrast checker → · Palette generator →

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