#215112#215112

#215112 is a dark, moderate green. Relative luminance 0.063; OKLCH L 38.7% C 0.106 H 139.3°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#215112
RGBrgb(33, 81, 18)
HSLhsl(106, 64%, 19%)
HSVhsv(106, 78%, 32%)
CMYKcmyk(59.3%, 0%, 77.8%, 68.2%)
CIE-LABlab(30.04, -29.31, 30.54)
CIE-LCHlch(30.04, 42.33, 133.82°)
OKLaboklab(38.71% -0.0806 0.0693)
OKLCHoklch(38.71% 0.106 139.3)
XYZxyz(3.6787, 6.2516, 1.5850)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#215112 #421251
analogous
#415112 #215112 #125123
triadic
#215112 #122151 #511221
tetradic
#215112 #124151 #421251 #512312
square
#215112 #124151 #421251 #512312
split-complementary
#215112 #231251 #511241
monochromatic
#0A1906 #0D1F07 #215112 #35831D #4AB528

Accessibility & contrast

On white

9.33
#215112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#215112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #215112
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##215112#FFFFFF#000000##FFFFFF
##2151121.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544908
Deuteranopia (green-blind)
#4D4518
Tritanopia (blue-blind)
#1C4E45
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #215112;
/* rgb */ color: rgb(33, 81, 18);
/* oklch */ color: oklch(38.7% 0.106 139.3);
Tailwind
colors: {
  custom: {
    50: '#628254',
    500: '#215112',
    950: '#000000',
  },
}
SCSS
$custom: #215112;
$custom-light: #628254;
$custom-dark: #000000;
JSON
{
  "hex": "#215112",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 18
  },
  "hsl": {
    "h": 105.714,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.10632,
    "h": 139.3
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#215112
secondary
#76358A
accent
#41E7BF
background
#F6F8F5
surface
#EBEFE8
border
#C6CAC4
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #215112

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

Preview Lab → · Contrast checker → · Palette generator →

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