#217229#217229

#217229 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.133 H 144.7°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#217229
RGBrgb(33, 114, 41)
HSLhsl(126, 55%, 29%)
HSVhsv(126, 71%, 45%)
CMYKcmyk(71.1%, 0%, 64%, 55.3%)
CIE-LABlab(42.03, -40.09, 32.78)
CIE-LCHlch(42.03, 51.79, 140.73°)
OKLaboklab(48.69% -0.1085 0.0769)
OKLCHoklch(48.69% 0.133 144.7)
XYZxyz(7.0443, 12.5173, 4.1422)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217229 #72216A
analogous
#427221 #217229 #217252
triadic
#217229 #292172 #722921
tetradic
#217229 #214272 #72216A #725221
square
#217229 #214272 #72216A #725221
split-complementary
#217229 #522172 #722142
monochromatic
#071809 #134318 #217229 #2FA13A #44C952

Accessibility & contrast

On white

5.99
#217229 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#217229 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217229
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217229#FFFFFF#000000##FFFFFF
##2172291.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746721
Deuteranopia (green-blind)
#6A612F
Tritanopia (blue-blind)
#076F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #217229;
/* rgb */ color: rgb(33, 114, 41);
/* oklch */ color: oklch(48.7% 0.133 144.7);
Tailwind
colors: {
  custom: {
    50: '#699b66',
    500: '#217229',
    950: '#000000',
  },
}
SCSS
$custom: #217229;
$custom-light: #699b66;
$custom-dark: #000000;
JSON
{
  "hex": "#217229",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 41
  },
  "hsl": {
    "h": 125.926,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4869,
    "c": 0.13295,
    "h": 144.7
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#217229
secondary
#A5499C
accent
#49D0DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #217229

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

Preview Lab → · Contrast checker → · Palette generator →

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