#215838#215838

#215838 is a dark, moderate green. Relative luminance 0.076; OKLCH L 41.4% C 0.079 H 155.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#215838
RGBrgb(33, 88, 56)
HSLhsl(145, 45%, 24%)
HSVhsv(145, 63%, 35%)
CMYKcmyk(62.5%, 0%, 36.4%, 65.5%)
CIE-LABlab(33.11, -26.47, 13.29)
CIE-LCHlch(33.11, 29.62, 153.35°)
OKLaboklab(41.42% -0.072 0.0335)
OKLCHoklch(41.42% 0.079 155.1)
XYZxyz(4.8303, 7.5878, 4.9507)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215838 #582141
analogous
#255821 #215838 #215853
triadic
#215838 #382158 #583821
tetradic
#215838 #212558 #582141 #585321
square
#215838 #212558 #582141 #585321
split-complementary
#215838 #532158 #582125
monochromatic
#08160E #102B1C #215838 #328554 #42B171

Accessibility & contrast

On white

8.34
#215838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#215838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215838
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215838#FFFFFF#000000##FFFFFF
##2158381.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585136
Deuteranopia (green-blind)
#504C3A
Tritanopia (blue-blind)
#0E5750
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #215838;
/* rgb */ color: rgb(33, 88, 56);
/* oklch */ color: oklch(41.4% 0.079 155.1);
Tailwind
colors: {
  custom: {
    50: '#62876e',
    500: '#215838',
    950: '#000000',
  },
}
SCSS
$custom: #215838;
$custom-light: #62876e;
$custom-dark: #000000;
JSON
{
  "hex": "#215838",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 56
  },
  "hsl": {
    "h": 145.091,
    "s": 45.455,
    "l": 23.725
  },
  "oklch": {
    "l": 0.41418,
    "c": 0.07937,
    "h": 155.1
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#215838
secondary
#8C4970
accent
#539FD5
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#050B07
muted
#7A7C7A

Preview Lab

Preview with #215838

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

Preview Lab → · Contrast checker → · Palette generator →

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