#215012#215012

#215012 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.105 H 139.2°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#215012
RGBrgb(33, 80, 18)
HSLhsl(105, 63%, 19%)
HSVhsv(105, 78%, 31%)
CMYKcmyk(58.8%, 0%, 77.5%, 68.6%)
CIE-LABlab(29.67, -28.88, 30.17)
CIE-LCHlch(29.67, 41.76, 133.75°)
OKLaboklab(38.41% -0.0795 0.0685)
OKLCHoklch(38.41% 0.105 139.2)
XYZxyz(3.6049, 6.1040, 1.5604)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215012 #411250
analogous
#405012 #215012 #125022
triadic
#215012 #122150 #501221
tetradic
#215012 #124050 #411250 #502212
square
#215012 #124050 #411250 #502212
split-complementary
#215012 #221250 #501240
monochromatic
#0A1906 #0C1E07 #215012 #36821D #4AB428

Accessibility & contrast

On white

9.46
#215012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#215012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215012
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215012#FFFFFF#000000##FFFFFF
##2150121.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #215012;
/* rgb */ color: rgb(33, 80, 18);
/* oklch */ color: oklch(38.4% 0.105 139.2);
Tailwind
colors: {
  custom: {
    50: '#628154',
    500: '#215012',
    950: '#000000',
  },
}
SCSS
$custom: #215012;
$custom-light: #628154;
$custom-dark: #000000;
JSON
{
  "hex": "#215012",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 105.484,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38414,
    "c": 0.10491,
    "h": 139.2
  },
  "luminance": 0.06104
}

Semantic roles & 50–950 ramp

primary
#215012
secondary
#753589
accent
#41E6BE
background
#F6F7F5
surface
#EBEEE8
border
#C6C9C4
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #215012

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

Preview Lab → · Contrast checker → · Palette generator →

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