#226A2E#226A2E

#226A2E is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.5% C 0.117 H 146.3°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#226A2E
RGBrgb(34, 106, 46)
HSLhsl(130, 51%, 27%)
HSVhsv(130, 68%, 42%)
CMYKcmyk(67.9%, 0%, 56.6%, 58.4%)
CIE-LABlab(39.32, -36.02, 27.03)
CIE-LCHlch(39.32, 45.03, 143.11°)
OKLaboklab(46.48% -0.0973 0.0648)
OKLCHoklch(46.48% 0.117 146.3)
XYZxyz(6.3064, 10.8448, 4.3451)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226A2E #6A225E
analogous
#3A6A22 #226A2E #226A52
triadic
#226A2E #2E226A #6A2E22
tetradic
#226A2E #223A6A #6A225E #6A5222
square
#226A2E #223A6A #6A225E #6A5222
split-complementary
#226A2E #52226A #6A223A
monochromatic
#07170A #133C1A #226A2E #319842 #44C359

Accessibility & contrast

On white

6.63
#226A2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#226A2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226A2E
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226A2E#FFFFFF#000000##FFFFFF
##226A2E1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6029
Deuteranopia (green-blind)
#635A32
Tritanopia (blue-blind)
#0D675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226a2e;
/* rgb */ color: rgb(34, 106, 46);
/* oklch */ color: oklch(46.5% 0.117 146.3);
Tailwind
colors: {
  custom: {
    50: '#679568',
    500: '#226a2e',
    950: '#000000',
  },
}
SCSS
$custom: #226a2e;
$custom-light: #679568;
$custom-dark: #000000;
JSON
{
  "hex": "#226a2e",
  "rgb": {
    "r": 34,
    "g": 106,
    "b": 46
  },
  "hsl": {
    "h": 130,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46478,
    "c": 0.11691,
    "h": 146.3
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#226A2E
secondary
#9E4A90
accent
#4DC3DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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