#226F2D#226F2D

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

Color values

HEX#226F2D
RGBrgb(34, 111, 45)
HSLhsl(129, 53%, 28%)
HSVhsv(129, 69%, 44%)
CMYKcmyk(69.4%, 0%, 59.5%, 56.5%)
CIE-LABlab(41.05, -38.17, 29.64)
CIE-LCHlch(41.05, 48.33, 142.18°)
OKLaboklab(47.91% -0.1032 0.0704)
OKLCHoklch(47.91% 0.125 145.7)
XYZxyz(6.8173, 11.8977, 4.4193)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226F2D #6F2264
analogous
#3D6F22 #226F2D #226F53
triadic
#226F2D #2D226F #6F2D22
tetradic
#226F2D #223D6F #6F2264 #6F5322
square
#226F2D #223D6F #6F2264 #6F5322
split-complementary
#226F2D #53226F #6F223D
monochromatic
#071709 #14401A #226F2D #309E40 #45C658

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226F2D#FFFFFF#000000##FFFFFF
##226F2D1.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)
#716527
Deuteranopia (green-blind)
#675E32
Tritanopia (blue-blind)
#0B6C60
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226f2d;
/* rgb */ color: rgb(34, 111, 45);
/* oklch */ color: oklch(47.9% 0.125 145.7);
Tailwind
colors: {
  custom: {
    50: '#689968',
    500: '#226f2d',
    950: '#000000',
  },
}
SCSS
$custom: #226f2d;
$custom-light: #689968;
$custom-dark: #000000;
JSON
{
  "hex": "#226f2d",
  "rgb": {
    "r": 34,
    "g": 111,
    "b": 45
  },
  "hsl": {
    "h": 128.571,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47907,
    "c": 0.12492,
    "h": 145.7
  },
  "luminance": 0.11898
}

Semantic roles & 50–950 ramp

primary
#226F2D
secondary
#A24A96
accent
#4BC8DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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