#226A2F#226A2F

#226A2F is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.5% C 0.116 H 146.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#226A2F
RGBrgb(34, 106, 47)
HSLhsl(131, 51%, 27%)
HSVhsv(131, 68%, 42%)
CMYKcmyk(67.9%, 0%, 55.7%, 58.4%)
CIE-LABlab(39.33, -35.86, 26.51)
CIE-LCHlch(39.33, 44.60, 143.53°)
OKLaboklab(46.49% -0.0969 0.0637)
OKLCHoklch(46.49% 0.116 146.7)
XYZxyz(6.3264, 10.8527, 4.4502)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226A2F #6A225D
analogous
#396A22 #226A2F #226A53
triadic
#226A2F #2F226A #6A2F22
tetradic
#226A2F #22396A #6A225D #6A5322
square
#226A2F #22396A #6A225D #6A5322
split-complementary
#226A2F #53226A #6A2239
monochromatic
#07170A #133C1A #226A2F #319844 #44C35B

Accessibility & contrast

On white

6.62
#226A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#226A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226A2F
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226A2F#FFFFFF#000000##FFFFFF
##226A2F1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B602A
Deuteranopia (green-blind)
#625A33
Tritanopia (blue-blind)
#0D685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226a2f;
/* rgb */ color: rgb(34, 106, 47);
/* oklch */ color: oklch(46.5% 0.116 146.7);
Tailwind
colors: {
  custom: {
    50: '#679569',
    500: '#226a2f',
    950: '#000000',
  },
}
SCSS
$custom: #226a2f;
$custom-light: #679569;
$custom-dark: #000000;
JSON
{
  "hex": "#226a2f",
  "rgb": {
    "r": 34,
    "g": 106,
    "b": 47
  },
  "hsl": {
    "h": 130.833,
    "s": 51.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.46494,
    "c": 0.11593,
    "h": 146.7
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#226A2F
secondary
#9E4A8F
accent
#4DC1DB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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