#215311#215311

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

Color values

HEX#215311
RGBrgb(33, 83, 17)
HSLhsl(105, 66%, 20%)
HSVhsv(105, 80%, 33%)
CMYKcmyk(60.2%, 0%, 79.5%, 67.5%)
CIE-LABlab(30.76, -30.26, 31.70)
CIE-LCHlch(30.76, 43.83, 133.66°)
OKLaboklab(39.31% -0.0833 0.0716)
OKLCHoklch(39.31% 0.11 139.3)
XYZxyz(3.8215, 6.5500, 1.5931)
Luminance0.0655 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215311 #431153
analogous
#425311 #215311 #115322
triadic
#215311 #112153 #531121
tetradic
#215311 #114253 #431153 #532211
square
#215311 #114253 #431153 #532211
split-complementary
#215311 #221153 #531142
monochromatic
#0A1905 #0D2007 #215311 #35861B #49B926

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##215311#FFFFFF#000000##FFFFFF
##2153111.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)
#564B06
Deuteranopia (green-blind)
#4F4718
Tritanopia (blue-blind)
#1C5046
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #215311;
/* rgb */ color: rgb(33, 83, 17);
/* oklch */ color: oklch(39.3% 0.110 139.3);
Tailwind
colors: {
  custom: {
    50: '#638454',
    500: '#215311',
    950: '#000000',
  },
}
SCSS
$custom: #215311;
$custom-light: #638454;
$custom-dark: #000000;
JSON
{
  "hex": "#215311",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 105.455,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39307,
    "c": 0.10979,
    "h": 139.3
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#215311
secondary
#77348C
accent
#3FE9C0
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215311

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

Preview Lab → · Contrast checker → · Palette generator →

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