#215418#215418

#215418 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.7% C 0.106 H 140.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#215418
RGBrgb(33, 84, 24)
HSLhsl(111, 56%, 21%)
HSVhsv(111, 71%, 33%)
CMYKcmyk(60.7%, 0%, 71.4%, 67.1%)
CIE-LABlab(31.18, -30.01, 28.99)
CIE-LCHlch(31.18, 41.72, 135.99°)
OKLaboklab(39.67% -0.0821 0.0669)
OKLCHoklch(39.67% 0.106 140.8)
XYZxyz(3.9622, 6.7296, 1.9541)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215418 #4B1854
analogous
#3F5418 #215418 #18542D
triadic
#215418 #182154 #541821
tetradic
#215418 #183F54 #4B1854 #542D18
square
#215418 #183F54 #4B1854 #542D18
split-complementary
#215418 #2D1854 #54183F
monochromatic
#091807 #0E240A #215418 #348426 #46B333

Accessibility & contrast

On white

8.95
#215418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#215418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215418
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215418#FFFFFF#000000##FFFFFF
##2154181.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C10
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#1B5148
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #215418;
/* rgb */ color: rgb(33, 84, 24);
/* oklch */ color: oklch(39.7% 0.106 140.8);
Tailwind
colors: {
  custom: {
    50: '#638558',
    500: '#215418',
    950: '#000000',
  },
}
SCSS
$custom: #215418;
$custom-light: #638558;
$custom-dark: #000000;
JSON
{
  "hex": "#215418",
  "rgb": {
    "r": 33,
    "g": 84,
    "b": 24
  },
  "hsl": {
    "h": 111,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.39675,
    "c": 0.10589,
    "h": 140.8
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#215418
secondary
#7F3D8B
accent
#49DFC8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #215418

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

Preview Lab → · Contrast checker → · Palette generator →

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