#217236#217236

#217236 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.121 H 148.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#217236
RGBrgb(33, 114, 54)
HSLhsl(136, 55%, 29%)
HSVhsv(136, 71%, 45%)
CMYKcmyk(71.1%, 0%, 52.6%, 55.3%)
CIE-LABlab(42.19, -38.19, 26.21)
CIE-LCHlch(42.19, 46.32, 145.53°)
OKLaboklab(48.88% -0.1029 0.0635)
OKLCHoklch(48.88% 0.121 148.3)
XYZxyz(7.3098, 12.6235, 5.5407)
Luminance0.1262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217236 #72215D
analogous
#357221 #217236 #21725F
triadic
#217236 #362172 #723621
tetradic
#217236 #213572 #72215D #725F21
square
#217236 #213572 #72215D #725F21
split-complementary
#217236 #5F2172 #722135
monochromatic
#07180B #134320 #217236 #2FA14C #44C967

Accessibility & contrast

On white

5.96
#217236 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#217236 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217236
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217236#FFFFFF#000000##FFFFFF
##2172361.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736831
Deuteranopia (green-blind)
#69613A
Tritanopia (blue-blind)
#007064
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217236;
/* rgb */ color: rgb(33, 114, 54);
/* oklch */ color: oklch(48.9% 0.121 148.3);
Tailwind
colors: {
  custom: {
    50: '#689b6e',
    500: '#217236',
    950: '#000000',
  },
}
SCSS
$custom: #217236;
$custom-light: #689b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#217236",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 54
  },
  "hsl": {
    "h": 135.556,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48878,
    "c": 0.12093,
    "h": 148.3
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#217236
secondary
#A5498E
accent
#49B8DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217236

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

Preview Lab → · Contrast checker → · Palette generator →

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