#215F12#215F12

#215F12 is a dark, vivid green. Relative luminance 0.086; OKLCH L 42.9% C 0.125 H 140.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#215F12
RGBrgb(33, 95, 18)
HSLhsl(108, 68%, 22%)
HSVhsv(108, 81%, 37%)
CMYKcmyk(65.3%, 0%, 81.1%, 62.7%)
CIE-LABlab(35.10, -35.10, 35.62)
CIE-LCHlch(35.10, 50.01, 134.58°)
OKLaboklab(42.9% -0.0962 0.0799)
OKLCHoklch(42.9% 0.125 140.3)
XYZxyz(4.8284, 8.5510, 1.9682)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215F12 #50125F
analogous
#485F12 #215F12 #125F2A
triadic
#215F12 #12215F #5F1221
tetradic
#215F12 #12485F #50125F #5F2A12
square
#215F12 #12485F #50125F #5F2A12
split-complementary
#215F12 #2A125F #5F1248
monochromatic
#091A05 #0F2C08 #215F12 #33921C #45C625

Accessibility & contrast

On white

7.75
#215F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#215F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215F12
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215F12#FFFFFF#000000##FFFFFF
##215F121.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625603
Deuteranopia (green-blind)
#5A511A
Tritanopia (blue-blind)
#185C50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #215f12;
/* rgb */ color: rgb(33, 95, 18);
/* oklch */ color: oklch(42.9% 0.125 140.3);
Tailwind
colors: {
  custom: {
    50: '#658d56',
    500: '#215f12',
    950: '#000000',
  },
}
SCSS
$custom: #215f12;
$custom-light: #658d56;
$custom-dark: #000000;
JSON
{
  "hex": "#215f12",
  "rgb": {
    "r": 33,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 108.312,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42898,
    "c": 0.1251,
    "h": 140.3
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#215F12
secondary
#843697
accent
#3DEBC9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C03
muted
#7A7D78

Preview Lab

Preview with #215F12

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

Preview Lab → · Contrast checker → · Palette generator →

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