#226535#226535

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

Color values

HEX#226535
RGBrgb(34, 101, 53)
HSLhsl(137, 50%, 26%)
HSVhsv(137, 66%, 40%)
CMYKcmyk(66.3%, 0%, 47.5%, 60.4%)
CIE-LABlab(37.67, -32.74, 21.08)
CIE-LCHlch(37.67, 38.94, 147.23°)
OKLaboklab(45.15% -0.0884 0.0518)
OKLCHoklch(45.15% 0.102 149.6)
XYZxyz(5.9555, 9.9039, 4.9653)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226535 #652252
analogous
#316522 #226535 #226557
triadic
#226535 #352265 #653522
tetradic
#226535 #223165 #652252 #655722
square
#226535 #223165 #652252 #655722
split-complementary
#226535 #572265 #652231
monochromatic
#08170C #13371D #226535 #31934D #42BF66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##226535#FFFFFF#000000##FFFFFF
##2265351.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)
#665C31
Deuteranopia (green-blind)
#5D5638
Tritanopia (blue-blind)
#0C6359
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #226535;
/* rgb */ color: rgb(34, 101, 53);
/* oklch */ color: oklch(45.2% 0.102 149.6);
Tailwind
colors: {
  custom: {
    50: '#65916d',
    500: '#226535',
    950: '#000000',
  },
}
SCSS
$custom: #226535;
$custom-light: #65916d;
$custom-dark: #000000;
JSON
{
  "hex": "#226535",
  "rgb": {
    "r": 34,
    "g": 101,
    "b": 53
  },
  "hsl": {
    "h": 137.015,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.10246,
    "h": 149.6
  },
  "luminance": 0.09904
}

Semantic roles & 50–950 ramp

primary
#226535
secondary
#994A82
accent
#4FB2D9
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #226535

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

Preview Lab → · Contrast checker → · Palette generator →

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