#215812#215812

#215812 is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.116 H 139.9°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#215812
RGBrgb(33, 88, 18)
HSLhsl(107, 66%, 21%)
HSVhsv(107, 80%, 35%)
CMYKcmyk(62.5%, 0%, 79.5%, 65.5%)
CIE-LABlab(32.58, -32.27, 33.12)
CIE-LCHlch(32.58, 46.25, 134.26°)
OKLaboklab(40.81% -0.0886 0.0747)
OKLCHoklch(40.81% 0.116 139.9)
XYZxyz(4.2259, 7.3461, 1.7674)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215812 #491258
analogous
#445812 #215812 #125826
triadic
#215812 #122158 #581221
tetradic
#215812 #124458 #491258 #582612
square
#215812 #124458 #491258 #582612
split-complementary
#215812 #261258 #581244
monochromatic
#0A1905 #0E2508 #215812 #348B1C #47BE27

Accessibility & contrast

On white

8.50
#215812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#215812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215812
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215812#FFFFFF#000000##FFFFFF
##2158121.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B4F05
Deuteranopia (green-blind)
#544B19
Tritanopia (blue-blind)
#1A554A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #215812;
/* rgb */ color: rgb(33, 88, 18);
/* oklch */ color: oklch(40.8% 0.116 139.9);
Tailwind
colors: {
  custom: {
    50: '#648855',
    500: '#215812',
    950: '#000000',
  },
}
SCSS
$custom: #215812;
$custom-light: #648855;
$custom-dark: #000000;
JSON
{
  "hex": "#215812",
  "rgb": {
    "r": 33,
    "g": 88,
    "b": 18
  },
  "hsl": {
    "h": 107.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40813,
    "c": 0.1159,
    "h": 139.9
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#215812
secondary
#7D3591
accent
#3FE9C5
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215812

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

Preview Lab → · Contrast checker → · Palette generator →

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