#226E23#226E23

#226E23 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.5% C 0.132 H 143.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#226E23
RGBrgb(34, 110, 35)
HSLhsl(121, 53%, 28%)
HSVhsv(121, 69%, 43%)
CMYKcmyk(69.1%, 0%, 68.2%, 56.9%)
CIE-LABlab(40.59, -39.06, 34.06)
CIE-LCHlch(40.59, 51.83, 138.91°)
OKLaboklab(47.49% -0.106 0.079)
OKLCHoklch(47.49% 0.132 143.3)
XYZxyz(6.5386, 11.6126, 3.4867)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E23 #6E226D
analogous
#476E22 #226E23 #226E49
triadic
#226E23 #23226E #6E2322
tetradic
#226E23 #22476E #6E226D #6E4922
square
#226E23 #22476E #6E226D #6E4922
split-complementary
#226E23 #49226E #6E2247
monochromatic
#071707 #143F14 #226E23 #309D32 #45C547

Accessibility & contrast

On white

6.32
#226E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#226E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E23
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E23#FFFFFF#000000##FFFFFF
##226E231.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70641A
Deuteranopia (green-blind)
#675D2A
Tritanopia (blue-blind)
#106B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e23;
/* rgb */ color: rgb(34, 110, 35);
/* oklch */ color: oklch(47.5% 0.132 143.3);
Tailwind
colors: {
  custom: {
    50: '#689861',
    500: '#226e23',
    950: '#000000',
  },
}
SCSS
$custom: #226e23;
$custom-light: #689861;
$custom-dark: #000000;
JSON
{
  "hex": "#226e23",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 35
  },
  "hsl": {
    "h": 120.789,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47492,
    "c": 0.13221,
    "h": 143.3
  },
  "luminance": 0.11613
}

Semantic roles & 50–950 ramp

primary
#226E23
secondary
#A14AA0
accent
#4CDADC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #226E23

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

Preview Lab → · Contrast checker → · Palette generator →

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