#226815#226815

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

Color values

HEX#226815
RGBrgb(34, 104, 21)
HSLhsl(111, 66%, 25%)
HSVhsv(111, 80%, 41%)
CMYKcmyk(67.3%, 0%, 79.8%, 59.2%)
CIE-LABlab(38.37, -38.11, 37.71)
CIE-LCHlch(38.37, 53.61, 135.30°)
OKLaboklab(45.61% -0.1042 0.0847)
OKLCHoklch(45.61% 0.134 140.9)
XYZxyz(5.7451, 10.2943, 2.3936)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226815 #5B1568
analogous
#4C6815 #226815 #156831
triadic
#226815 #152268 #681522
tetradic
#226815 #154C68 #5B1568 #683115
square
#226815 #154C68 #5B1568 #683115
split-complementary
#226815 #311568 #68154C
monochromatic
#081905 #11350B #226815 #339B1F #43CE2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226815#FFFFFF#000000##FFFFFF
##2268151.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)
#6B5E04
Deuteranopia (green-blind)
#62581E
Tritanopia (blue-blind)
#166458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226815;
/* rgb */ color: rgb(34, 104, 21);
/* oklch */ color: oklch(45.6% 0.134 140.9);
Tailwind
colors: {
  custom: {
    50: '#689459',
    500: '#226815',
    950: '#000000',
  },
}
SCSS
$custom: #226815;
$custom-light: #689459;
$custom-dark: #000000;
JSON
{
  "hex": "#226815",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 110.602,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.13433,
    "h": 140.9
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#226815
secondary
#8F3A9F
accent
#3EE9CF
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226815

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

Preview Lab → · Contrast checker → · Palette generator →

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