#226718#226718

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

Color values

HEX#226718
RGBrgb(34, 103, 24)
HSLhsl(112, 62%, 25%)
HSVhsv(112, 77%, 40%)
CMYKcmyk(67%, 0%, 76.7%, 59.6%)
CIE-LABlab(38.03, -37.48, 36.20)
CIE-LCHlch(38.03, 52.10, 136.00°)
OKLaboklab(45.34% -0.1024 0.082)
OKLCHoklch(45.34% 0.131 141.3)
XYZxyz(5.6745, 10.1060, 2.5156)
Luminance0.1011 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226718 #5D1867
analogous
#4A6718 #226718 #186735
triadic
#226718 #182267 #671822
tetradic
#226718 #184A67 #5D1867 #673518
square
#226718 #184A67 #5D1867 #673518
split-complementary
#226718 #351867 #67184A
monochromatic
#081906 #12350C #226718 #329924 #43CA2F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226718#FFFFFF#000000##FFFFFF
##2267181.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)
#6A5D0A
Deuteranopia (green-blind)
#615720
Tritanopia (blue-blind)
#166458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226718;
/* rgb */ color: rgb(34, 103, 24);
/* oklch */ color: oklch(45.3% 0.131 141.3);
Tailwind
colors: {
  custom: {
    50: '#67935a',
    500: '#226718',
    950: '#000000',
  },
}
SCSS
$custom: #226718;
$custom-light: #67935a;
$custom-dark: #000000;
JSON
{
  "hex": "#226718",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 24
  },
  "hsl": {
    "h": 112.405,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.45342,
    "c": 0.13116,
    "h": 141.3
  },
  "luminance": 0.10107
}

Semantic roles & 50–950 ramp

primary
#226718
secondary
#913E9D
accent
#43E5D1
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226718

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

Preview Lab → · Contrast checker → · Palette generator →

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