#226536#226536

#226536 is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.2% C 0.101 H 150.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#226536
RGBrgb(34, 101, 54)
HSLhsl(138, 50%, 26%)
HSVhsv(138, 66%, 40%)
CMYKcmyk(66.3%, 0%, 46.5%, 60.4%)
CIE-LABlab(37.69, -32.55, 20.53)
CIE-LCHlch(37.69, 38.49, 147.77°)
OKLaboklab(45.17% -0.0879 0.0505)
OKLCHoklch(45.17% 0.101 150.1)
XYZxyz(5.9788, 9.9132, 5.0877)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226536 #652251
analogous
#306522 #226536 #226558
triadic
#226536 #362265 #653622
tetradic
#226536 #223065 #652251 #655822
square
#226536 #223065 #652251 #655822
split-complementary
#226536 #582265 #652230
monochromatic
#08170C #13371E #226536 #31934E #42BF67

Accessibility & contrast

On white

7.04
#226536 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #226536
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226536#FFFFFF#000000##FFFFFF
##2265361.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665C32
Deuteranopia (green-blind)
#5D5639
Tritanopia (blue-blind)
#0B635A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226536;
/* rgb */ color: rgb(34, 101, 54);
/* oklch */ color: oklch(45.2% 0.101 150.1);
Tailwind
colors: {
  custom: {
    50: '#65916d',
    500: '#226536',
    950: '#000000',
  },
}
SCSS
$custom: #226536;
$custom-light: #65916d;
$custom-dark: #000000;
JSON
{
  "hex": "#226536",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 54
  },
  "hsl": {
    "h": 137.91,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45173,
    "c": 0.10141,
    "h": 150.1
  },
  "luminance": 0.09914
}

Semantic roles & 50–950 ramp

primary
#226536
secondary
#994A81
accent
#4FB0D9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226536

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

Preview Lab → · Contrast checker → · Palette generator →

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