#217038#217038

#217038 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.3% C 0.116 H 149.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#217038
RGBrgb(33, 112, 56)
HSLhsl(137, 54%, 28%)
HSVhsv(137, 71%, 44%)
CMYKcmyk(70.5%, 0%, 50%, 56.1%)
CIE-LABlab(41.53, -37.04, 24.28)
CIE-LCHlch(41.53, 44.29, 146.75°)
OKLaboklab(48.34% -0.0998 0.0592)
OKLCHoklch(48.34% 0.116 149.3)
XYZxyz(7.1346, 12.1964, 5.7188)
Luminance0.1220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217038 #702159
analogous
#317021 #217038 #21705F
triadic
#217038 #382170 #703821
tetradic
#217038 #213170 #702159 #705F21
square
#217038 #213170 #702159 #705F21
split-complementary
#217038 #5F2170 #702131
monochromatic
#07180C #134120 #217038 #2F9F50 #44C86A

Accessibility & contrast

On white

6.11
#217038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#217038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217038
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217038#FFFFFF#000000##FFFFFF
##2170381.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716634
Deuteranopia (green-blind)
#675F3C
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #217038;
/* rgb */ color: rgb(33, 112, 56);
/* oklch */ color: oklch(48.3% 0.116 149.3);
Tailwind
colors: {
  custom: {
    50: '#679a6f',
    500: '#217038',
    950: '#000000',
  },
}
SCSS
$custom: #217038;
$custom-light: #679a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#217038",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 56
  },
  "hsl": {
    "h": 137.468,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4834,
    "c": 0.11608,
    "h": 149.3
  },
  "luminance": 0.12197
}

Semantic roles & 50–950 ramp

primary
#217038
secondary
#A44989
accent
#4AB3DE
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A

Preview Lab

Preview with #217038

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

Preview Lab → · Contrast checker → · Palette generator →

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