#217823#217823

#217823 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.145 H 143.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#217823
RGBrgb(33, 120, 35)
HSLhsl(121, 57%, 30%)
HSVhsv(121, 73%, 47%)
CMYKcmyk(72.5%, 0%, 70.8%, 52.9%)
CIE-LABlab(44.06, -43.01, 37.81)
CIE-LCHlch(44.06, 57.27, 138.68°)
OKLaboklab(50.35% -0.1167 0.0869)
OKLCHoklch(50.35% 0.145 143.3)
XYZxyz(7.6466, 13.8768, 3.8653)
Luminance0.1388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217823 #782176
analogous
#4B7821 #217823 #21784E
triadic
#217823 #232178 #782321
tetradic
#217823 #214B78 #782176 #784E21
square
#217823 #214B78 #782176 #784E21
split-complementary
#217823 #4E2178 #78214B
monochromatic
#071807 #144815 #217823 #2EA831 #47CC4A

Accessibility & contrast

On white

5.56
#217823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#217823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217823
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217823#FFFFFF#000000##FFFFFF
##2178231.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C17
Deuteranopia (green-blind)
#70652B
Tritanopia (blue-blind)
#067467
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217823;
/* rgb */ color: rgb(33, 120, 35);
/* oklch */ color: oklch(50.4% 0.145 143.3);
Tailwind
colors: {
  custom: {
    50: '#6aa063',
    500: '#217823',
    950: '#000000',
  },
}
SCSS
$custom: #217823;
$custom-light: #6aa063;
$custom-dark: #000000;
JSON
{
  "hex": "#217823",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 35
  },
  "hsl": {
    "h": 121.379,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50352,
    "c": 0.14548,
    "h": 143.3
  },
  "luminance": 0.13878
}

Semantic roles & 50–950 ramp

primary
#217823
secondary
#AB4AA9
accent
#48DDE0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F05
muted
#7A7E7A

Preview Lab

Preview with #217823

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

Preview Lab → · Contrast checker → · Palette generator →

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