#215A12#215A12

#215A12 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.4% C 0.119 H 140.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#215A12
RGBrgb(33, 90, 18)
HSLhsl(108, 67%, 21%)
HSVhsv(108, 80%, 35%)
CMYKcmyk(63.3%, 0%, 80%, 64.7%)
CIE-LABlab(33.30, -33.09, 33.84)
CIE-LCHlch(33.30, 47.34, 134.36°)
OKLaboklab(41.41% -0.0908 0.0762)
OKLCHoklch(41.41% 0.119 140)
XYZxyz(4.3923, 7.6789, 1.8229)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215A12 #4B125A
analogous
#455A12 #215A12 #125A27
triadic
#215A12 #12215A #5A1221
tetradic
#215A12 #12455A #4B125A #5A2712
square
#215A12 #12455A #4B125A #5A2712
split-complementary
#215A12 #27125A #5A1245
monochromatic
#091A05 #0E2708 #215A12 #348D1C #46C026

Accessibility & contrast

On white

8.28
#215A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#215A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215A12
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215A12#FFFFFF#000000##FFFFFF
##215A121.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5105
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#1A574C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #215a12;
/* rgb */ color: rgb(33, 90, 18);
/* oklch */ color: oklch(41.4% 0.119 140.0);
Tailwind
colors: {
  custom: {
    50: '#648955',
    500: '#215a12',
    950: '#000000',
  },
}
SCSS
$custom: #215a12;
$custom-light: #648955;
$custom-dark: #000000;
JSON
{
  "hex": "#215a12",
  "rgb": {
    "r": 33,
    "g": 90,
    "b": 18
  },
  "hsl": {
    "h": 107.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4141,
    "c": 0.11857,
    "h": 140
  },
  "luminance": 0.07679
}

Semantic roles & 50–950 ramp

primary
#215A12
secondary
#7F3593
accent
#3EEAC6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215A12

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

Preview Lab → · Contrast checker → · Palette generator →

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