#226829#226829

#226829 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.119 H 145.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#226829
RGBrgb(34, 104, 41)
HSLhsl(126, 51%, 27%)
HSVhsv(126, 67%, 41%)
CMYKcmyk(67.3%, 0%, 60.6%, 59.2%)
CIE-LABlab(38.55, -35.94, 28.76)
CIE-LCHlch(38.55, 46.03, 141.33°)
OKLaboklab(45.83% -0.0973 0.0682)
OKLCHoklch(45.83% 0.119 145)
XYZxyz(6.0099, 10.4002, 3.7881)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226829 #682261
analogous
#3E6822 #226829 #22684C
triadic
#226829 #292268 #682922
tetradic
#226829 #223E68 #682261 #684C22
square
#226829 #223E68 #682261 #684C22
split-complementary
#226829 #4C2268 #68223E
monochromatic
#081709 #133A17 #226829 #31963B #43C250

Accessibility & contrast

On white

6.82
#226829 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#226829 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226829
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226829#FFFFFF#000000##FFFFFF
##2268291.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E23
Deuteranopia (green-blind)
#61582E
Tritanopia (blue-blind)
#11655A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #226829;
/* rgb */ color: rgb(34, 104, 41);
/* oklch */ color: oklch(45.8% 0.119 145.0);
Tailwind
colors: {
  custom: {
    50: '#679465',
    500: '#226829',
    950: '#000000',
  },
}
SCSS
$custom: #226829;
$custom-light: #679465;
$custom-dark: #000000;
JSON
{
  "hex": "#226829",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 41
  },
  "hsl": {
    "h": 126,
    "s": 50.725,
    "l": 27.059
  },
  "oklch": {
    "l": 0.45825,
    "c": 0.11881,
    "h": 145
  },
  "luminance": 0.10401
}

Semantic roles & 50–950 ramp

primary
#226829
secondary
#9C4A94
accent
#4ECCDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #226829

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

Preview Lab → · Contrast checker → · Palette generator →

#226829 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva