#226533#226533

#226533 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.1% C 0.105 H 148.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#226533
RGBrgb(34, 101, 51)
HSLhsl(135, 50%, 26%)
HSVhsv(135, 66%, 40%)
CMYKcmyk(66.3%, 0%, 49.5%, 60.4%)
CIE-LABlab(37.64, -33.10, 22.18)
CIE-LCHlch(37.64, 39.85, 146.18°)
OKLaboklab(45.12% -0.0894 0.0542)
OKLCHoklch(45.12% 0.105 148.8)
XYZxyz(5.9105, 9.8859, 4.7280)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226533 #652254
analogous
#336522 #226533 #226555
triadic
#226533 #332265 #653322
tetradic
#226533 #223365 #652254 #655522
square
#226533 #223365 #652254 #655522
split-complementary
#226533 #552265 #652233
monochromatic
#08170C #13371C #226533 #31934A #42BF62

Accessibility & contrast

On white

7.05
#226533 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#226533 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226533
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226533#FFFFFF#000000##FFFFFF
##2265331.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C2F
Deuteranopia (green-blind)
#5D5636
Tritanopia (blue-blind)
#0D6359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226533;
/* rgb */ color: rgb(34, 101, 51);
/* oklch */ color: oklch(45.1% 0.105 148.8);
Tailwind
colors: {
  custom: {
    50: '#65916b',
    500: '#226533',
    950: '#000000',
  },
}
SCSS
$custom: #226533;
$custom-light: #65916b;
$custom-dark: #000000;
JSON
{
  "hex": "#226533",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 51
  },
  "hsl": {
    "h": 135.224,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45116,
    "c": 0.10453,
    "h": 148.8
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#226533
secondary
#994A85
accent
#4FB6D9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226533

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

Preview Lab → · Contrast checker → · Palette generator →

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