#217524#217524

#217524 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.5% C 0.141 H 143.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#217524
RGBrgb(33, 117, 36)
HSLhsl(122, 56%, 29%)
HSVhsv(122, 72%, 46%)
CMYKcmyk(71.8%, 0%, 69.2%, 54.1%)
CIE-LABlab(43.02, -41.81, 36.25)
CIE-LCHlch(43.02, 55.34, 139.07°)
OKLaboklab(49.5% -0.1134 0.0837)
OKLCHoklch(49.5% 0.141 143.6)
XYZxyz(7.3065, 13.1725, 3.8262)
Luminance0.1317 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217524 #752172
analogous
#487521 #217524 #21754E
triadic
#217524 #242175 #752421
tetradic
#217524 #214875 #752172 #754E21
square
#217524 #214875 #752172 #754E21
split-complementary
#217524 #4E2175 #752148
monochromatic
#071807 #144515 #217524 #2EA533 #46CB4A

Accessibility & contrast

On white

5.78
#217524 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#217524 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217524
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217524#FFFFFF#000000##FFFFFF
##2175241.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A19
Deuteranopia (green-blind)
#6E632B
Tritanopia (blue-blind)
#087264
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217524;
/* rgb */ color: rgb(33, 117, 36);
/* oklch */ color: oklch(49.5% 0.141 143.6);
Tailwind
colors: {
  custom: {
    50: '#6a9e63',
    500: '#217524',
    950: '#000000',
  },
}
SCSS
$custom: #217524;
$custom-light: #6a9e63;
$custom-dark: #000000;
JSON
{
  "hex": "#217524",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 36
  },
  "hsl": {
    "h": 122.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49498,
    "c": 0.14092,
    "h": 143.6
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#217524
secondary
#A84AA5
accent
#49DADF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E05
muted
#7A7E7A

Preview Lab

Preview with #217524

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

Preview Lab → · Contrast checker → · Palette generator →

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