#215E28#215E28

#215E28 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.106 H 145.5°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#215E28
RGBrgb(33, 94, 40)
HSLhsl(127, 48%, 25%)
HSVhsv(127, 65%, 37%)
CMYKcmyk(64.9%, 0%, 57.4%, 63.1%)
CIE-LABlab(34.97, -32.18, 25.02)
CIE-LCHlch(34.97, 40.76, 142.14°)
OKLaboklab(42.85% -0.0871 0.0599)
OKLCHoklch(42.85% 0.106 145.5)
XYZxyz(5.0126, 8.4815, 3.3800)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215E28 #5E2157
analogous
#395E21 #215E28 #215E46
triadic
#215E28 #28215E #5E2821
tetradic
#215E28 #21395E #5E2157 #5E4621
square
#215E28 #21395E #5E2157 #5E4621
split-complementary
#215E28 #46215E #5E2139
monochromatic
#08170A #113115 #215E28 #318B3B #41B94F

Accessibility & contrast

On white

7.79
#215E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#215E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215E28
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215E28#FFFFFF#000000##FFFFFF
##215E281.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605523
Deuteranopia (green-blind)
#58502C
Tritanopia (blue-blind)
#135C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #215e28;
/* rgb */ color: rgb(33, 94, 40);
/* oklch */ color: oklch(42.9% 0.106 145.5);
Tailwind
colors: {
  custom: {
    50: '#648c63',
    500: '#215e28',
    950: '#000000',
  },
}
SCSS
$custom: #215e28;
$custom-light: #648c63;
$custom-dark: #000000;
JSON
{
  "hex": "#215e28",
  "rgb": {
    "r": 33,
    "g": 94,
    "b": 40
  },
  "hsl": {
    "h": 126.885,
    "s": 48.031,
    "l": 24.902
  },
  "oklch": {
    "l": 0.42854,
    "c": 0.10573,
    "h": 145.5
  },
  "luminance": 0.08482
}

Semantic roles & 50–950 ramp

primary
#215E28
secondary
#92498A
accent
#50C8D8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A

Preview Lab

Preview with #215E28

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

Preview Lab → · Contrast checker → · Palette generator →

#215E28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva