#215412#215412

#215412 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.6% C 0.110 H 139.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#215412
RGBrgb(33, 84, 18)
HSLhsl(106, 65%, 20%)
HSVhsv(106, 79%, 33%)
CMYKcmyk(60.7%, 0%, 78.6%, 67.1%)
CIE-LABlab(31.13, -30.60, 31.66)
CIE-LCHlch(31.13, 44.03, 134.02°)
OKLaboklab(39.62% -0.0841 0.0716)
OKLCHoklch(39.62% 0.11 139.6)
XYZxyz(3.9065, 6.7073, 1.6609)
Luminance0.0671 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215412 #451254
analogous
#425412 #215412 #125424
triadic
#215412 #122154 #541221
tetradic
#215412 #124254 #451254 #542412
square
#215412 #124254 #451254 #542412
split-complementary
#215412 #241254 #541242
monochromatic
#0A1905 #0D2207 #215412 #35861D #49B928

Accessibility & contrast

On white

8.97
#215412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#215412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215412
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215412#FFFFFF#000000##FFFFFF
##2154121.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#1B5147
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #215412;
/* rgb */ color: rgb(33, 84, 18);
/* oklch */ color: oklch(39.6% 0.110 139.6);
Tailwind
colors: {
  custom: {
    50: '#638555',
    500: '#215412',
    950: '#000000',
  },
}
SCSS
$custom: #215412;
$custom-light: #638555;
$custom-dark: #000000;
JSON
{
  "hex": "#215412",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 106.364,
    "s": 64.706,
    "l": 20
  },
  "oklch": {
    "l": 0.39615,
    "c": 0.11048,
    "h": 139.6
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#215412
secondary
#79358D
accent
#40E8C2
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215412

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

Preview Lab → · Contrast checker → · Palette generator →

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