#226E2B#226E2B

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

Color values

HEX#226E2B
RGBrgb(34, 110, 43)
HSLhsl(127, 53%, 28%)
HSVhsv(127, 69%, 43%)
CMYKcmyk(69.1%, 0%, 60.9%, 56.9%)
CIE-LABlab(40.68, -38.06, 30.23)
CIE-LCHlch(40.68, 48.60, 141.54°)
OKLaboklab(47.59% -0.1029 0.0716)
OKLCHoklch(47.59% 0.125 145.2)
XYZxyz(6.6712, 11.6657, 4.1852)
Luminance0.1167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E2B #6E2265
analogous
#3F6E22 #226E2B #226E51
triadic
#226E2B #2B226E #6E2B22
tetradic
#226E2B #223F6E #6E2265 #6E5122
square
#226E2B #223F6E #6E2265 #6E5122
split-complementary
#226E2B #51226E #6E223F
monochromatic
#071709 #143F19 #226E2B #309D3D #45C554

Accessibility & contrast

On white

6.30
#226E2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#226E2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E2B
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E2B#FFFFFF#000000##FFFFFF
##226E2B1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706424
Deuteranopia (green-blind)
#675D30
Tritanopia (blue-blind)
#0C6B5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e2b;
/* rgb */ color: rgb(34, 110, 43);
/* oklch */ color: oklch(47.6% 0.125 145.2);
Tailwind
colors: {
  custom: {
    50: '#689867',
    500: '#226e2b',
    950: '#000000',
  },
}
SCSS
$custom: #226e2b;
$custom-light: #689867;
$custom-dark: #000000;
JSON
{
  "hex": "#226e2b",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 43
  },
  "hsl": {
    "h": 127.105,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47591,
    "c": 0.12536,
    "h": 145.2
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#226E2B
secondary
#A14A97
accent
#4CCBDC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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