#215312#215312

#215312 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.109 H 139.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#215312
RGBrgb(33, 83, 18)
HSLhsl(106, 64%, 20%)
HSVhsv(106, 78%, 33%)
CMYKcmyk(60.2%, 0%, 78.3%, 67.5%)
CIE-LABlab(30.77, -30.17, 31.29)
CIE-LCHlch(30.77, 43.47, 133.96°)
OKLaboklab(39.32% -0.083 0.0709)
OKLCHoklch(39.32% 0.109 139.5)
XYZxyz(3.8295, 6.5532, 1.6352)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215312 #441253
analogous
#415312 #215312 #125324
triadic
#215312 #122153 #531221
tetradic
#215312 #124153 #441253 #532412
square
#215312 #124153 #441253 #532412
split-complementary
#215312 #241253 #531241
monochromatic
#0A1905 #0D2107 #215312 #35851D #49B828

Accessibility & contrast

On white

9.09
#215312 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#215312 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215312
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215312#FFFFFF#000000##FFFFFF
##2153121.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#1C5046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #215312;
/* rgb */ color: rgb(33, 83, 18);
/* oklch */ color: oklch(39.3% 0.109 139.5);
Tailwind
colors: {
  custom: {
    50: '#638454',
    500: '#215312',
    950: '#000000',
  },
}
SCSS
$custom: #215312;
$custom-light: #638454;
$custom-dark: #000000;
JSON
{
  "hex": "#215312",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 18
  },
  "hsl": {
    "h": 106.154,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39315,
    "c": 0.1091,
    "h": 139.5
  },
  "luminance": 0.06554
}

Semantic roles & 50–950 ramp

primary
#215312
secondary
#78358C
accent
#40E7C1
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215312

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

Preview Lab → · Contrast checker → · Palette generator →

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