#226E2A#226E2A

#226E2A is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.126 H 144.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#226E2A
RGBrgb(34, 110, 42)
HSLhsl(126, 53%, 28%)
HSVhsv(126, 69%, 43%)
CMYKcmyk(69.1%, 0%, 61.8%, 56.9%)
CIE-LABlab(40.67, -38.20, 30.72)
CIE-LCHlch(40.67, 49.02, 141.19°)
OKLaboklab(47.58% -0.1033 0.0726)
OKLCHoklch(47.58% 0.126 144.9)
XYZxyz(6.6531, 11.6584, 4.0897)
Luminance0.1166 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E2A #6E2266
analogous
#406E22 #226E2A #226E50
triadic
#226E2A #2A226E #6E2A22
tetradic
#226E2A #22406E #6E2266 #6E5022
square
#226E2A #22406E #6E2266 #6E5022
split-complementary
#226E2A #50226E #6E2240
monochromatic
#071709 #143F18 #226E2A #309D3C #45C552

Accessibility & contrast

On white

6.30
#226E2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#226E2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E2A
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E2A#FFFFFF#000000##FFFFFF
##226E2A1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706423
Deuteranopia (green-blind)
#675D2F
Tritanopia (blue-blind)
#0D6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e2a;
/* rgb */ color: rgb(34, 110, 42);
/* oklch */ color: oklch(47.6% 0.126 144.9);
Tailwind
colors: {
  custom: {
    50: '#689866',
    500: '#226e2a',
    950: '#000000',
  },
}
SCSS
$custom: #226e2a;
$custom-light: #689866;
$custom-dark: #000000;
JSON
{
  "hex": "#226e2a",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 42
  },
  "hsl": {
    "h": 126.316,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.12626,
    "h": 144.9
  },
  "luminance": 0.11659
}

Semantic roles & 50–950 ramp

primary
#226E2A
secondary
#A14A98
accent
#4CCDDC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226E2A

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

Preview Lab → · Contrast checker → · Palette generator →

#226E2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva