#226729#226729

#226729 is a mid, moderate green. Relative luminance 0.102; OKLCH L 45.5% C 0.117 H 145.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#226729
RGBrgb(34, 103, 41)
HSLhsl(126, 50%, 27%)
HSVhsv(126, 67%, 40%)
CMYKcmyk(67%, 0%, 60.2%, 59.6%)
CIE-LABlab(38.20, -35.53, 28.35)
CIE-LCHlch(38.20, 45.46, 141.42°)
OKLaboklab(45.53% -0.0962 0.0673)
OKLCHoklch(45.53% 0.117 145)
XYZxyz(5.9098, 10.2001, 3.7548)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226729 #672260
analogous
#3E6722 #226729 #22674C
triadic
#226729 #292267 #672922
tetradic
#226729 #223E67 #672260 #674C22
square
#226729 #223E67 #672260 #674C22
split-complementary
#226729 #4C2267 #67223E
monochromatic
#081709 #133917 #226729 #31953B #43C14F

Accessibility & contrast

On white

6.91
#226729 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#226729 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226729
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226729#FFFFFF#000000##FFFFFF
##2267291.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D23
Deuteranopia (green-blind)
#60582E
Tritanopia (blue-blind)
#116459
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226729;
/* rgb */ color: rgb(34, 103, 41);
/* oklch */ color: oklch(45.5% 0.117 145.0);
Tailwind
colors: {
  custom: {
    50: '#669365',
    500: '#226729',
    950: '#000000',
  },
}
SCSS
$custom: #226729;
$custom-light: #669365;
$custom-dark: #000000;
JSON
{
  "hex": "#226729",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 41
  },
  "hsl": {
    "h": 126.087,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.45534,
    "c": 0.11739,
    "h": 145
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#226729
secondary
#9B4A93
accent
#4ECCDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #226729

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

Preview Lab → · Contrast checker → · Palette generator →

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