#226F2A#226F2A

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

Color values

HEX#226F2A
RGBrgb(34, 111, 42)
HSLhsl(126, 53%, 28%)
HSVhsv(126, 69%, 44%)
CMYKcmyk(69.4%, 0%, 62.2%, 56.5%)
CIE-LABlab(41.02, -38.59, 31.13)
CIE-LCHlch(41.02, 49.58, 141.11°)
OKLaboklab(47.87% -0.1044 0.0734)
OKLCHoklch(47.87% 0.128 144.9)
XYZxyz(6.7616, 11.8754, 4.1259)
Luminance0.1188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F2A #6F2267
analogous
#406F22 #226F2A #226F50
triadic
#226F2A #2A226F #6F2A22
tetradic
#226F2A #22406F #6F2267 #6F5022
square
#226F2A #22406F #6F2267 #6F5022
split-complementary
#226F2A #50226F #6F2240
monochromatic
#071709 #144018 #226F2A #309E3C #45C653

Accessibility & contrast

On white

6.22
#226F2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226F2A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226F2A#FFFFFF#000000##FFFFFF
##226F2A1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716523
Deuteranopia (green-blind)
#685E30
Tritanopia (blue-blind)
#0C6C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226f2a;
/* rgb */ color: rgb(34, 111, 42);
/* oklch */ color: oklch(47.9% 0.128 144.9);
Tailwind
colors: {
  custom: {
    50: '#689966',
    500: '#226f2a',
    950: '#000000',
  },
}
SCSS
$custom: #226f2a;
$custom-light: #689966;
$custom-dark: #000000;
JSON
{
  "hex": "#226f2a",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 42
  },
  "hsl": {
    "h": 126.234,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47866,
    "c": 0.12764,
    "h": 144.9
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#226F2A
secondary
#A24A99
accent
#4BCDDD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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