#226B2A#226B2A

#226B2A is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.122 H 145.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#226B2A
RGBrgb(34, 107, 42)
HSLhsl(127, 52%, 28%)
HSVhsv(127, 68%, 42%)
CMYKcmyk(68.2%, 0%, 60.7%, 58%)
CIE-LABlab(39.62, -37.01, 29.50)
CIE-LCHlch(39.62, 47.32, 141.44°)
OKLaboklab(46.71% -0.1001 0.0699)
OKLCHoklch(46.71% 0.122 145.1)
XYZxyz(6.3349, 11.0220, 3.9836)
Luminance0.1102 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226B2A #6B2263
analogous
#3F6B22 #226B2A #226B4E
triadic
#226B2A #2A226B #6B2A22
tetradic
#226B2A #223F6B #6B2263 #6B4E22
square
#226B2A #223F6B #6B2263 #6B4E22
split-complementary
#226B2A #4E226B #6B223F
monochromatic
#071709 #133D18 #226B2A #31993C #44C452

Accessibility & contrast

On white

6.55
#226B2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#226B2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226B2A
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226B2A#FFFFFF#000000##FFFFFF
##226B2A1.006.553.206.55
#FFFFFF6.551.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6123
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#0F685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #226b2a;
/* rgb */ color: rgb(34, 107, 42);
/* oklch */ color: oklch(46.7% 0.122 145.1);
Tailwind
colors: {
  custom: {
    50: '#679666',
    500: '#226b2a',
    950: '#000000',
  },
}
SCSS
$custom: #226b2a;
$custom-light: #679666;
$custom-dark: #000000;
JSON
{
  "hex": "#226b2a",
  "rgb": {
    "r": 34,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 126.575,
    "s": 51.773,
    "l": 27.647
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.1221,
    "h": 145.1
  },
  "luminance": 0.11023
}

Semantic roles & 50–950 ramp

primary
#226B2A
secondary
#9F4A95
accent
#4DCCDB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #226B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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