#216238#216238

#216238 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.095 H 152.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#216238
RGBrgb(33, 98, 56)
HSLhsl(141, 50%, 26%)
HSVhsv(141, 66%, 38%)
CMYKcmyk(66.3%, 0%, 42.9%, 61.6%)
CIE-LABlab(36.64, -31.08, 17.99)
CIE-LCHlch(36.64, 35.91, 149.94°)
OKLaboklab(44.31% -0.084 0.0447)
OKLCHoklch(44.31% 0.095 152)
XYZxyz(5.7082, 9.3437, 5.2433)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#216238 #62214B
analogous
#2A6221 #216238 #216258
triadic
#216238 #382162 #623821
tetradic
#216238 #212A62 #62214B #625821
square
#216238 #212A62 #62214B #625821
split-complementary
#216238 #582162 #62212A
monochromatic
#08170D #12341E #216238 #309052 #40BE6C

Accessibility & contrast

On white

7.32
#216238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#216238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #216238
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##216238#FFFFFF#000000##FFFFFF
##2162381.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625A35
Deuteranopia (green-blind)
#5A543B
Tritanopia (blue-blind)
#096158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #216238;
/* rgb */ color: rgb(33, 98, 56);
/* oklch */ color: oklch(44.3% 0.095 152.0);
Tailwind
colors: {
  custom: {
    50: '#648f6f',
    500: '#216238',
    950: '#000000',
  },
}
SCSS
$custom: #216238;
$custom-light: #648f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#216238",
  "rgb": {
    "r": 33,
    "g": 98,
    "b": 56
  },
  "hsl": {
    "h": 141.231,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44313,
    "c": 0.09518,
    "h": 152
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#216238
secondary
#96497B
accent
#4FA8D9
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A

Preview Lab

Preview with #216238

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

Preview Lab → · Contrast checker → · Palette generator →

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