#217526#217526

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

Color values

HEX#217526
RGBrgb(33, 117, 38)
HSLhsl(124, 56%, 29%)
HSVhsv(124, 72%, 46%)
CMYKcmyk(71.8%, 0%, 67.5%, 54.1%)
CIE-LABlab(43.04, -41.58, 35.36)
CIE-LCHlch(43.04, 54.58, 139.63°)
OKLaboklab(49.52% -0.1126 0.0821)
OKLCHoklch(49.52% 0.139 143.9)
XYZxyz(7.3379, 13.1851, 3.9916)
Luminance0.1319 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217526 #752170
analogous
#467521 #217526 #217550
triadic
#217526 #262175 #752621
tetradic
#217526 #214675 #752170 #755021
square
#217526 #214675 #752170 #755021
split-complementary
#217526 #502175 #752146
monochromatic
#071808 #144516 #217526 #2EA536 #46CB4E

Accessibility & contrast

On white

5.77
#217526 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#217526 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217526
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217526#FFFFFF#000000##FFFFFF
##2175261.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1C
Deuteranopia (green-blind)
#6D632D
Tritanopia (blue-blind)
#077265
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #217526;
/* rgb */ color: rgb(33, 117, 38);
/* oklch */ color: oklch(49.5% 0.139 143.9);
Tailwind
colors: {
  custom: {
    50: '#699e64',
    500: '#217526',
    950: '#000000',
  },
}
SCSS
$custom: #217526;
$custom-light: #699e64;
$custom-dark: #000000;
JSON
{
  "hex": "#217526",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 38
  },
  "hsl": {
    "h": 123.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.4952,
    "c": 0.13936,
    "h": 143.9
  },
  "luminance": 0.13186
}

Semantic roles & 50–950 ramp

primary
#217526
secondary
#A84AA3
accent
#49D6DF
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #217526

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

Preview Lab → · Contrast checker → · Palette generator →

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