#226529#226529

#226529 is a dark, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.115 H 145.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#226529
RGBrgb(34, 101, 41)
HSLhsl(126, 50%, 26%)
HSVhsv(126, 66%, 40%)
CMYKcmyk(66.3%, 0%, 59.4%, 60.4%)
CIE-LABlab(37.49, -34.71, 27.51)
CIE-LCHlch(37.49, 44.30, 141.60°)
OKLaboklab(44.95% -0.094 0.0655)
OKLCHoklch(44.95% 0.115 145.1)
XYZxyz(5.7132, 9.8070, 3.6892)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226529 #65225E
analogous
#3D6522 #226529 #22654B
triadic
#226529 #292265 #652922
tetradic
#226529 #223D65 #65225E #654B22
square
#226529 #223D65 #65225E #654B22
split-complementary
#226529 #4B2265 #65223D
monochromatic
#081709 #133716 #226529 #31933C #42BF4F

Accessibility & contrast

On white

7.09
#226529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#226529 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226529
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226529#FFFFFF#000000##FFFFFF
##2265291.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C23
Deuteranopia (green-blind)
#5E562E
Tritanopia (blue-blind)
#126258
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #226529;
/* rgb */ color: rgb(34, 101, 41);
/* oklch */ color: oklch(45.0% 0.115 145.1);
Tailwind
colors: {
  custom: {
    50: '#669264',
    500: '#226529',
    950: '#000000',
  },
}
SCSS
$custom: #226529;
$custom-light: #669264;
$custom-dark: #000000;
JSON
{
  "hex": "#226529",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 41
  },
  "hsl": {
    "h": 126.269,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.44952,
    "c": 0.11453,
    "h": 145.1
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#226529
secondary
#994A91
accent
#4FCBD9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #226529

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

Preview Lab → · Contrast checker → · Palette generator →

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