#226F2E#226F2E

#226F2E is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.124 H 146.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#226F2E
RGBrgb(34, 111, 46)
HSLhsl(129, 53%, 28%)
HSVhsv(129, 69%, 44%)
CMYKcmyk(69.4%, 0%, 58.6%, 56.5%)
CIE-LABlab(41.07, -38.03, 29.13)
CIE-LCHlch(41.07, 47.90, 142.55°)
OKLaboklab(47.92% -0.1027 0.0694)
OKLCHoklch(47.92% 0.124 146)
XYZxyz(6.8368, 11.9055, 4.5219)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F2E #6F2263
analogous
#3C6F22 #226F2E #226F54
triadic
#226F2E #2E226F #6F2E22
tetradic
#226F2E #223C6F #6F2263 #6F5422
square
#226F2E #223C6F #6F2263 #6F5422
split-complementary
#226F2E #54226F #6F223C
monochromatic
#07170A #14401B #226F2E #309E41 #45C659

Accessibility & contrast

On white

6.21
#226F2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#226F2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226F2E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F2E#FFFFFF#000000##FFFFFF
##226F2E1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716528
Deuteranopia (green-blind)
#675E33
Tritanopia (blue-blind)
#0A6C61
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226f2e;
/* rgb */ color: rgb(34, 111, 46);
/* oklch */ color: oklch(47.9% 0.124 146.0);
Tailwind
colors: {
  custom: {
    50: '#689969',
    500: '#226f2e',
    950: '#000000',
  },
}
SCSS
$custom: #226f2e;
$custom-light: #689969;
$custom-dark: #000000;
JSON
{
  "hex": "#226f2e",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 46
  },
  "hsl": {
    "h": 129.351,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47922,
    "c": 0.12399,
    "h": 146
  },
  "luminance": 0.11906
}

Semantic roles & 50–950 ramp

primary
#226F2E
secondary
#A24A95
accent
#4BC6DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226F2E

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

Preview Lab → · Contrast checker → · Palette generator →

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