#226236#226236

#226236 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.097 H 150.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#226236
RGBrgb(34, 98, 54)
HSLhsl(139, 48%, 26%)
HSVhsv(139, 65%, 38%)
CMYKcmyk(65.3%, 0%, 44.9%, 61.6%)
CIE-LABlab(36.63, -31.24, 19.16)
CIE-LCHlch(36.63, 36.65, 148.47°)
OKLaboklab(44.31% -0.0844 0.0474)
OKLCHoklch(44.31% 0.097 150.7)
XYZxyz(5.6928, 9.3412, 4.9923)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226236 #62224E
analogous
#2E6222 #226236 #226256
triadic
#226236 #362262 #623622
tetradic
#226236 #222E62 #62224E #625622
square
#226236 #222E62 #62224E #625622
split-complementary
#226236 #562262 #62222E
monochromatic
#08170D #12351D #226236 #328F4F #42BD68

Accessibility & contrast

On white

7.32
#226236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#226236 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #226236
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226236#FFFFFF#000000##FFFFFF
##2262361.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A33
Deuteranopia (green-blind)
#5A5439
Tritanopia (blue-blind)
#0D6057
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #226236;
/* rgb */ color: rgb(34, 98, 54);
/* oklch */ color: oklch(44.3% 0.097 150.7);
Tailwind
colors: {
  custom: {
    50: '#658f6d',
    500: '#226236',
    950: '#000000',
  },
}
SCSS
$custom: #226236;
$custom-light: #658f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#226236",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 54
  },
  "hsl": {
    "h": 138.75,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.44307,
    "c": 0.09682,
    "h": 150.7
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#226236
secondary
#964A7E
accent
#50ADD8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #226236

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

Preview Lab → · Contrast checker → · Palette generator →

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