#217242#217242

#217242 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.109 H 153.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#217242
RGBrgb(33, 114, 66)
HSLhsl(144, 55%, 29%)
HSVhsv(144, 71%, 45%)
CMYKcmyk(71.1%, 0%, 42.1%, 55.3%)
CIE-LABlab(42.38, -35.99, 19.74)
CIE-LCHlch(42.38, 41.05, 151.26°)
OKLaboklab(49.1% -0.0972 0.0491)
OKLCHoklch(49.1% 0.109 153.2)
XYZxyz(7.6272, 12.7505, 7.2123)
Luminance0.1275 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217242 #722151
analogous
#297221 #217242 #21726B
triadic
#217242 #422172 #724221
tetradic
#217242 #212972 #722151 #726B21
square
#217242 #212972 #722151 #726B21
split-complementary
#217242 #6B2172 #722129
monochromatic
#07180E #134327 #217242 #2FA15D #44C97A

Accessibility & contrast

On white

5.92
#217242 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#217242 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217242
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217242#FFFFFF#000000##FFFFFF
##2172421.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683F
Deuteranopia (green-blind)
#686145
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217242;
/* rgb */ color: rgb(33, 114, 66);
/* oklch */ color: oklch(49.1% 0.109 153.2);
Tailwind
colors: {
  custom: {
    50: '#689b77',
    500: '#217242',
    950: '#000000',
  },
}
SCSS
$custom: #217242;
$custom-light: #689b77;
$custom-dark: #000000;
JSON
{
  "hex": "#217242",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 66
  },
  "hsl": {
    "h": 144.444,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49102,
    "c": 0.10886,
    "h": 153.2
  },
  "luminance": 0.12751
}

Semantic roles & 50–950 ramp

primary
#217242
secondary
#A54980
accent
#49A2DE
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217242

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

Preview Lab → · Contrast checker → · Palette generator →

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