#226E1C#226E1C

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

Color values

HEX#226E1C
RGBrgb(34, 110, 28)
HSLhsl(116, 59%, 27%)
HSVhsv(116, 75%, 43%)
CMYKcmyk(69.1%, 0%, 74.5%, 56.9%)
CIE-LABlab(40.53, -39.79, 37.11)
CIE-LCHlch(40.53, 54.41, 136.99°)
OKLaboklab(47.42% -0.1084 0.0845)
OKLCHoklch(47.42% 0.137 142.1)
XYZxyz(6.4449, 11.5751, 2.9930)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E1C #681C6E
analogous
#4B6E1C #226E1C #1C6E3F
triadic
#226E1C #1C226E #6E1C22
tetradic
#226E1C #1C4B6E #681C6E #6E3F1C
square
#226E1C #1C4B6E #681C6E #6E3F1C
split-complementary
#226E1C #3F1C6E #6E1C4B
monochromatic
#081806 #133D10 #226E1C #319F28 #43CC38

Accessibility & contrast

On white

6.33
#226E1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226E1C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E1C#FFFFFF#000000##FFFFFF
##226E1C1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71630F
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#126B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e1c;
/* rgb */ color: rgb(34, 110, 28);
/* oklch */ color: oklch(47.4% 0.137 142.1);
Tailwind
colors: {
  custom: {
    50: '#69985d',
    500: '#226e1c',
    950: '#000000',
  },
}
SCSS
$custom: #226e1c;
$custom-light: #69985d;
$custom-dark: #000000;
JSON
{
  "hex": "#226e1c",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 28
  },
  "hsl": {
    "h": 115.61,
    "s": 59.42,
    "l": 27.059
  },
  "oklch": {
    "l": 0.47422,
    "c": 0.13742,
    "h": 142.1
  },
  "luminance": 0.11576
}

Semantic roles & 50–950 ramp

primary
#226E1C
secondary
#9C43A3
accent
#45E3D7
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #226E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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