#226E2F#226E2F

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

Color values

HEX#226E2F
RGBrgb(34, 110, 47)
HSLhsl(130, 53%, 28%)
HSVhsv(130, 69%, 43%)
CMYKcmyk(69.1%, 0%, 57.3%, 56.9%)
CIE-LABlab(40.73, -37.48, 28.20)
CIE-LCHlch(40.73, 46.91, 143.05°)
OKLaboklab(47.65% -0.1012 0.0675)
OKLCHoklch(47.65% 0.122 146.3)
XYZxyz(6.7482, 11.6965, 4.5908)
Luminance0.1170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226E2F #6E2261
analogous
#3B6E22 #226E2F #226E55
triadic
#226E2F #2F226E #6E2F22
tetradic
#226E2F #223B6E #6E2261 #6E5522
square
#226E2F #223B6E #6E2261 #6E5522
split-complementary
#226E2F #55226E #6E223B
monochromatic
#07170A #143F1B #226E2F #309D43 #45C55B

Accessibility & contrast

On white

6.29
#226E2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#226E2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226E2F
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226E2F#FFFFFF#000000##FFFFFF
##226E2F1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706429
Deuteranopia (green-blind)
#665D34
Tritanopia (blue-blind)
#0A6B60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226e2f;
/* rgb */ color: rgb(34, 110, 47);
/* oklch */ color: oklch(47.6% 0.122 146.3);
Tailwind
colors: {
  custom: {
    50: '#689869',
    500: '#226e2f',
    950: '#000000',
  },
}
SCSS
$custom: #226e2f;
$custom-light: #689869;
$custom-dark: #000000;
JSON
{
  "hex": "#226e2f",
  "rgb": {
    "r": 34,
    "g": 110,
    "b": 47
  },
  "hsl": {
    "h": 130.263,
    "s": 52.778,
    "l": 28.235
  },
  "oklch": {
    "l": 0.47648,
    "c": 0.12164,
    "h": 146.3
  },
  "luminance": 0.11697
}

Semantic roles & 50–950 ramp

primary
#226E2F
secondary
#A14A93
accent
#4CC3DC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #226E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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