#226814#226814

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

Color values

HEX#226814
RGBrgb(34, 104, 20)
HSLhsl(110, 68%, 24%)
HSVhsv(110, 81%, 41%)
CMYKcmyk(67.3%, 0%, 80.8%, 59.2%)
CIE-LABlab(38.36, -38.18, 38.07)
CIE-LCHlch(38.36, 53.92, 135.08°)
OKLaboklab(45.6% -0.1045 0.0853)
OKLCHoklch(45.6% 0.135 140.8)
XYZxyz(5.7360, 10.2907, 2.3457)
Luminance0.1029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226814 #5A1468
analogous
#4C6814 #226814 #146830
triadic
#226814 #142268 #681422
tetradic
#226814 #144C68 #5A1468 #683014
square
#226814 #144C68 #5A1468 #683014
split-complementary
#226814 #301468 #68144C
monochromatic
#081A05 #11350A #226814 #339B1E #44CF28

Accessibility & contrast

On white

6.87
#226814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226814
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226814#FFFFFF#000000##FFFFFF
##2268141.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E02
Deuteranopia (green-blind)
#62581D
Tritanopia (blue-blind)
#166458
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226814;
/* rgb */ color: rgb(34, 104, 20);
/* oklch */ color: oklch(45.6% 0.135 140.8);
Tailwind
colors: {
  custom: {
    50: '#689459',
    500: '#226814',
    950: '#000000',
  },
}
SCSS
$custom: #226814;
$custom-light: #689459;
$custom-dark: #000000;
JSON
{
  "hex": "#226814",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 110,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45604,
    "c": 0.13491,
    "h": 140.8
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#226814
secondary
#8E399F
accent
#3DEBCE
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79

Preview Lab

Preview with #226814

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

Preview Lab → · Contrast checker → · Palette generator →

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