#217239#217239

#217239 is a mid, moderate green. Relative luminance 0.127; OKLCH L 48.9% C 0.118 H 149.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#217239
RGBrgb(33, 114, 57)
HSLhsl(138, 55%, 29%)
HSVhsv(138, 71%, 45%)
CMYKcmyk(71.1%, 0%, 50%, 55.3%)
CIE-LABlab(42.24, -37.68, 24.62)
CIE-LCHlch(42.24, 45.01, 146.84°)
OKLaboklab(48.93% -0.1015 0.0601)
OKLCHoklch(48.93% 0.118 149.4)
XYZxyz(7.3825, 12.6526, 5.9232)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217239 #72215A
analogous
#327221 #217239 #217262
triadic
#217239 #392172 #723921
tetradic
#217239 #213272 #72215A #726221
square
#217239 #213272 #72215A #726221
split-complementary
#217239 #622172 #722132
monochromatic
#07180C #134321 #217239 #2FA151 #44C96C

Accessibility & contrast

On white

5.95
#217239 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#217239 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217239
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217239#FFFFFF#000000##FFFFFF
##2172391.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736834
Deuteranopia (green-blind)
#69613D
Tritanopia (blue-blind)
#007065
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217239;
/* rgb */ color: rgb(33, 114, 57);
/* oklch */ color: oklch(48.9% 0.118 149.4);
Tailwind
colors: {
  custom: {
    50: '#689b70',
    500: '#217239',
    950: '#000000',
  },
}
SCSS
$custom: #217239;
$custom-light: #689b70;
$custom-dark: #000000;
JSON
{
  "hex": "#217239",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 57
  },
  "hsl": {
    "h": 137.778,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4893,
    "c": 0.11796,
    "h": 149.4
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#217239
secondary
#A5498A
accent
#49B2DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217239

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

Preview Lab → · Contrast checker → · Palette generator →

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