#217938#217938

#217938 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.129 H 148.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#217938
RGBrgb(33, 121, 56)
HSLhsl(136, 57%, 30%)
HSVhsv(136, 73%, 47%)
CMYKcmyk(72.7%, 0%, 53.7%, 52.5%)
CIE-LABlab(44.64, -40.63, 28.16)
CIE-LCHlch(44.64, 49.43, 145.28°)
OKLaboklab(50.91% -0.1094 0.068)
OKLCHoklch(50.91% 0.129 148.2)
XYZxyz(8.1778, 14.2827, 6.0665)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217938 #792162
analogous
#367921 #217938 #217964
triadic
#217938 #382179 #793821
tetradic
#217938 #213679 #792162 #796421
square
#217938 #213679 #792162 #796421
split-complementary
#217938 #642179 #792136
monochromatic
#07190B #144922 #217938 #2EA94E #47CD6A

Accessibility & contrast

On white

5.44
#217938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#217938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217938
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217938#FFFFFF#000000##FFFFFF
##2179381.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E32
Deuteranopia (green-blind)
#70673D
Tritanopia (blue-blind)
#00766A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217938;
/* rgb */ color: rgb(33, 121, 56);
/* oklch */ color: oklch(50.9% 0.129 148.2);
Tailwind
colors: {
  custom: {
    50: '#6aa170',
    500: '#217938',
    950: '#000000',
  },
}
SCSS
$custom: #217938;
$custom-light: #6aa170;
$custom-dark: #000000;
JSON
{
  "hex": "#217938",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 135.682,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.12882,
    "h": 148.2
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#217938
secondary
#AC4A92
accent
#47B8E0
background
#F6FAF6
surface
#ECF3EC
border
#C7CDC7
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #217938

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

Preview Lab → · Contrast checker → · Palette generator →

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