#226E1B#226E1B

#226E1B is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.138 H 141.9°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#226E1B
RGBrgb(34, 110, 27)
HSLhsl(115, 61%, 27%)
HSVhsv(115, 75%, 43%)
CMYKcmyk(69.1%, 0%, 75.5%, 56.9%)
CIE-LABlab(40.52, -39.88, 37.52)
CIE-LCHlch(40.52, 54.75, 136.75°)
OKLaboklab(47.41% -0.1087 0.0852)
OKLCHoklch(47.41% 0.138 141.9)
XYZxyz(6.4331, 11.5704, 2.9310)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E1B #671B6E
analogous
#4C6E1B #226E1B #1B6E3E
triadic
#226E1B #1B226E #6E1B22
tetradic
#226E1B #1B4C6E #671B6E #6E3E1B
square
#226E1B #1B4C6E #671B6E #6E3E1B
split-complementary
#226E1B #3E1B6E #6E1B4C
monochromatic
#081906 #133D0F #226E1B #319F27 #43CE36

Accessibility & contrast

On white

6.34
#226E1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#226E1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E1B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E1B#FFFFFF#000000##FFFFFF
##226E1B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630D
Deuteranopia (green-blind)
#685D23
Tritanopia (blue-blind)
#126A5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e1b;
/* rgb */ color: rgb(34, 110, 27);
/* oklch */ color: oklch(47.4% 0.138 141.9);
Tailwind
colors: {
  custom: {
    50: '#69985d',
    500: '#226e1b',
    950: '#000000',
  },
}
SCSS
$custom: #226e1b;
$custom-light: #69985d;
$custom-dark: #000000;
JSON
{
  "hex": "#226e1b",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 27
  },
  "hsl": {
    "h": 114.94,
    "s": 60.584,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47413,
    "c": 0.13809,
    "h": 141.9
  },
  "luminance": 0.11571
}

Semantic roles & 50–950 ramp

primary
#226E1B
secondary
#9B42A3
accent
#44E4D6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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