#226E1F#226E1F

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

Color values

HEX#226E1F
RGBrgb(34, 110, 31)
HSLhsl(118, 56%, 28%)
HSVhsv(118, 72%, 43%)
CMYKcmyk(69.1%, 0%, 71.8%, 56.9%)
CIE-LABlab(40.56, -39.49, 35.85)
CIE-LCHlch(40.56, 53.34, 137.77°)
OKLaboklab(47.45% -0.1074 0.0822)
OKLCHoklch(47.45% 0.135 142.6)
XYZxyz(6.4826, 11.5902, 3.1916)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E1F #6B1F6E
analogous
#496E1F #226E1F #1F6E44
triadic
#226E1F #1F226E #6E1F22
tetradic
#226E1F #1F496E #6B1F6E #6E441F
square
#226E1F #1F496E #6B1F6E #6E441F
split-complementary
#226E1F #441F6E #6E1F49
monochromatic
#071807 #133E12 #226E1F #319E2C #44C93F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226E1F#FFFFFF#000000##FFFFFF
##226E1F1.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)
#716314
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#116B5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e1f;
/* rgb */ color: rgb(34, 110, 31);
/* oklch */ color: oklch(47.4% 0.135 142.6);
Tailwind
colors: {
  custom: {
    50: '#69985f',
    500: '#226e1f',
    950: '#000000',
  },
}
SCSS
$custom: #226e1f;
$custom-light: #69985f;
$custom-dark: #000000;
JSON
{
  "hex": "#226e1f",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 117.722,
    "s": 56.028,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4745,
    "c": 0.13528,
    "h": 142.6
  },
  "luminance": 0.11591
}

Semantic roles & 50–950 ramp

primary
#226E1F
secondary
#9F47A2
accent
#48DFDA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #226E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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