#215018#215018

#215018 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.5% C 0.100 H 140.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#215018
RGBrgb(33, 80, 24)
HSLhsl(110, 54%, 20%)
HSVhsv(110, 70%, 31%)
CMYKcmyk(58.8%, 0%, 70%, 68.6%)
CIE-LABlab(29.73, -28.25, 27.39)
CIE-LCHlch(29.73, 39.35, 135.89°)
OKLaboklab(38.48% -0.0773 0.0635)
OKLCHoklch(38.48% 0.1 140.6)
XYZxyz(3.6606, 6.1263, 1.8536)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215018 #471850
analogous
#3D5018 #215018 #18502B
triadic
#215018 #182150 #501821
tetradic
#215018 #183D50 #471850 #502B18
square
#215018 #183D50 #471850 #502B18
split-complementary
#215018 #2B1850 #50183D
monochromatic
#0A1807 #0E210A #215018 #347F26 #48AE34

Accessibility & contrast

On white

9.44
#215018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#215018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215018
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215018#FFFFFF#000000##FFFFFF
##2150181.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524911
Deuteranopia (green-blind)
#4C441D
Tritanopia (blue-blind)
#1C4D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #215018;
/* rgb */ color: rgb(33, 80, 24);
/* oklch */ color: oklch(38.5% 0.100 140.6);
Tailwind
colors: {
  custom: {
    50: '#628158',
    500: '#215018',
    950: '#000000',
  },
}
SCSS
$custom: #215018;
$custom-light: #628158;
$custom-dark: #000000;
JSON
{
  "hex": "#215018",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 110.357,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.38477,
    "c": 0.10007,
    "h": 140.6
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#215018
secondary
#7B3D87
accent
#4BDDC6
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #215018

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

Preview Lab → · Contrast checker → · Palette generator →

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