#226629#226629

#226629 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.2% C 0.116 H 145.1°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#226629
RGBrgb(34, 102, 41)
HSLhsl(126, 50%, 27%)
HSVhsv(126, 67%, 40%)
CMYKcmyk(66.7%, 0%, 59.8%, 60%)
CIE-LABlab(37.85, -35.13, 27.93)
CIE-LCHlch(37.85, 44.88, 141.51°)
OKLaboklab(45.24% -0.0951 0.0664)
OKLCHoklch(45.24% 0.116 145.1)
XYZxyz(5.8109, 10.0023, 3.7218)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226629 #66225F
analogous
#3D6622 #226629 #22664B
triadic
#226629 #292266 #662922
tetradic
#226629 #223D66 #66225F #664B22
square
#226629 #223D66 #66225F #664B22
split-complementary
#226629 #4B2266 #66223D
monochromatic
#081709 #133817 #226629 #31943B #42C04F

Accessibility & contrast

On white

7.00
#226629 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#226629 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226629
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226629#FFFFFF#000000##FFFFFF
##2266291.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685D23
Deuteranopia (green-blind)
#5F572E
Tritanopia (blue-blind)
#126358
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226629;
/* rgb */ color: rgb(34, 102, 41);
/* oklch */ color: oklch(45.2% 0.116 145.1);
Tailwind
colors: {
  custom: {
    50: '#669265',
    500: '#226629',
    950: '#000000',
  },
}
SCSS
$custom: #226629;
$custom-light: #669265;
$custom-dark: #000000;
JSON
{
  "hex": "#226629",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 41
  },
  "hsl": {
    "h": 126.176,
    "s": 50,
    "l": 26.667
  },
  "oklch": {
    "l": 0.45243,
    "c": 0.11596,
    "h": 145.1
  },
  "luminance": 0.10003
}

Semantic roles & 50–950 ramp

primary
#226629
secondary
#9A4A92
accent
#4ECBDA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #226629

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

Preview Lab → · Contrast checker → · Palette generator →

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