#215828#215828

#215828 is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.1% C 0.097 H 145.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#215828
RGBrgb(33, 88, 40)
HSLhsl(128, 45%, 24%)
HSVhsv(128, 63%, 35%)
CMYKcmyk(62.5%, 0%, 54.5%, 65.5%)
CIE-LABlab(32.82, -29.56, 22.40)
CIE-LCHlch(32.82, 37.09, 142.85°)
OKLaboklab(41.09% -0.0801 0.0541)
OKLCHoklch(41.09% 0.097 145.9)
XYZxyz(4.4996, 7.4556, 3.2090)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215828 #582151
analogous
#355821 #215828 #215843
triadic
#215828 #282158 #582821
tetradic
#215828 #213558 #582151 #584321
square
#215828 #213558 #582151 #584321
split-complementary
#215828 #432158 #582135
monochromatic
#08160A #102B14 #215828 #32853C #42B150

Accessibility & contrast

On white

8.43
#215828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#215828 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215828
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215828#FFFFFF#000000##FFFFFF
##2158281.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595024
Deuteranopia (green-blind)
#524B2B
Tritanopia (blue-blind)
#16564D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #215828;
/* rgb */ color: rgb(33, 88, 40);
/* oklch */ color: oklch(41.1% 0.097 145.9);
Tailwind
colors: {
  custom: {
    50: '#638863',
    500: '#215828',
    950: '#000000',
  },
}
SCSS
$custom: #215828;
$custom-light: #638863;
$custom-dark: #000000;
JSON
{
  "hex": "#215828",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 40
  },
  "hsl": {
    "h": 127.636,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.41089,
    "c": 0.09663,
    "h": 145.9
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#215828
secondary
#8C4984
accent
#53C5D5
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050B05
muted
#7A7C79

Preview Lab

Preview with #215828

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

Preview Lab → · Contrast checker → · Palette generator →

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