#217825#217825

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

Color values

HEX#217825
RGBrgb(33, 120, 37)
HSLhsl(123, 57%, 30%)
HSVhsv(123, 73%, 47%)
CMYKcmyk(72.5%, 0%, 69.2%, 52.9%)
CIE-LABlab(44.07, -42.80, 36.94)
CIE-LCHlch(44.07, 56.54, 139.20°)
OKLaboklab(50.37% -0.116 0.0853)
OKLCHoklch(50.37% 0.144 143.7)
XYZxyz(7.6771, 13.8890, 4.0262)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217825 #782174
analogous
#487821 #217825 #217851
triadic
#217825 #252178 #782521
tetradic
#217825 #214878 #782174 #785121
square
#217825 #214878 #782174 #785121
split-complementary
#217825 #512178 #782148
monochromatic
#071807 #144816 #217825 #2EA834 #47CC4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217825#FFFFFF#000000##FFFFFF
##2178251.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)
#7A6C1A
Deuteranopia (green-blind)
#70652D
Tritanopia (blue-blind)
#057567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #217825;
/* rgb */ color: rgb(33, 120, 37);
/* oklch */ color: oklch(50.4% 0.144 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa064',
    500: '#217825',
    950: '#000000',
  },
}
SCSS
$custom: #217825;
$custom-light: #6aa064;
$custom-dark: #000000;
JSON
{
  "hex": "#217825",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 37
  },
  "hsl": {
    "h": 122.759,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.14399,
    "h": 143.7
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#217825
secondary
#AB4AA7
accent
#48D9E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #217825

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

Preview Lab → · Contrast checker → · Palette generator →

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