#226E2D#226E2D

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

Color values

HEX#226E2D
RGBrgb(34, 110, 45)
HSLhsl(129, 53%, 28%)
HSVhsv(129, 69%, 43%)
CMYKcmyk(69.1%, 0%, 59.1%, 56.9%)
CIE-LABlab(40.70, -37.78, 29.22)
CIE-LCHlch(40.70, 47.76, 142.28°)
OKLaboklab(47.62% -0.1021 0.0695)
OKLCHoklch(47.62% 0.124 145.7)
XYZxyz(6.7088, 11.6807, 4.3832)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E2D #6E2263
analogous
#3D6E22 #226E2D #226E53
triadic
#226E2D #2D226E #6E2D22
tetradic
#226E2D #223D6E #6E2263 #6E5322
square
#226E2D #223D6E #6E2263 #6E5322
split-complementary
#226E2D #53226E #6E223D
monochromatic
#07170A #143F1A #226E2D #309D40 #45C558

Accessibility & contrast

On white

6.29
#226E2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#226E2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E2D
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E2D#FFFFFF#000000##FFFFFF
##226E2D1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706427
Deuteranopia (green-blind)
#665D32
Tritanopia (blue-blind)
#0B6B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e2d;
/* rgb */ color: rgb(34, 110, 45);
/* oklch */ color: oklch(47.6% 0.124 145.7);
Tailwind
colors: {
  custom: {
    50: '#689868',
    500: '#226e2d',
    950: '#000000',
  },
}
SCSS
$custom: #226e2d;
$custom-light: #689868;
$custom-dark: #000000;
JSON
{
  "hex": "#226e2d",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 45
  },
  "hsl": {
    "h": 128.684,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47619,
    "c": 0.12352,
    "h": 145.7
  },
  "luminance": 0.11681
}

Semantic roles & 50–950 ramp

primary
#226E2D
secondary
#A14A95
accent
#4CC7DC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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