#215E12#215E12

#215E12 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.124 H 140.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#215E12
RGBrgb(33, 94, 18)
HSLhsl(108, 68%, 22%)
HSVhsv(108, 81%, 37%)
CMYKcmyk(64.9%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.75, -34.70, 35.27)
CIE-LCHlch(34.75, 49.48, 134.54°)
OKLaboklab(42.6% -0.0952 0.0792)
OKLCHoklch(42.6% 0.124 140.2)
XYZxyz(4.7389, 8.3720, 1.9384)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215E12 #4F125E
analogous
#475E12 #215E12 #125E29
triadic
#215E12 #12215E #5E1221
tetradic
#215E12 #12475E #4F125E #5E2912
square
#215E12 #12475E #4F125E #5E2912
split-complementary
#215E12 #29125E #5E1247
monochromatic
#091A05 #0F2B08 #215E12 #33911C #45C526

Accessibility & contrast

On white

7.85
#215E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#215E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215E12
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215E12#FFFFFF#000000##FFFFFF
##215E121.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#59501A
Tritanopia (blue-blind)
#185B50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #215e12;
/* rgb */ color: rgb(33, 94, 18);
/* oklch */ color: oklch(42.6% 0.124 140.2);
Tailwind
colors: {
  custom: {
    50: '#658c56',
    500: '#215e12',
    950: '#000000',
  },
}
SCSS
$custom: #215e12;
$custom-light: #658c56;
$custom-dark: #000000;
JSON
{
  "hex": "#215e12",
  "rgb": {
    "r": 33,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 108.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42601,
    "c": 0.1238,
    "h": 140.2
  },
  "luminance": 0.08372
}

Semantic roles & 50–950 ramp

primary
#215E12
secondary
#833596
accent
#3DEBC8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #215E12

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

Preview Lab → · Contrast checker → · Palette generator →

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