#214812#214812

#214812 is a dark, moderate green. Relative luminance 0.050; OKLCH L 36.0% C 0.093 H 138.3°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#214812
RGBrgb(33, 72, 18)
HSLhsl(103, 60%, 18%)
HSVhsv(103, 75%, 28%)
CMYKcmyk(54.2%, 0%, 75%, 71.8%)
CIE-LABlab(26.74, -25.27, 27.10)
CIE-LCHlch(26.74, 37.05, 133.00°)
OKLaboklab(36% -0.0697 0.0621)
OKLCHoklch(36% 0.093 138.3)
XYZxyz(3.0536, 5.0015, 1.3766)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214812 #391248
analogous
#3C4812 #214812 #12481E
triadic
#214812 #122148 #481221
tetradic
#214812 #123C48 #391248 #481E12
square
#214812 #123C48 #391248 #481E12
split-complementary
#214812 #1E1248 #48123C
monochromatic
#0B1806 #0B1806 #214812 #37791E #4EAA2A

Accessibility & contrast

On white

10.50
#214812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#214812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214812
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214812#FFFFFF#000000##FFFFFF
##2148121.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A410A
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#1E453D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #214812;
/* rgb */ color: rgb(33, 72, 18);
/* oklch */ color: oklch(36.0% 0.093 138.3);
Tailwind
colors: {
  custom: {
    50: '#617b53',
    500: '#214812',
    950: '#000000',
  },
}
SCSS
$custom: #214812;
$custom-light: #617b53;
$custom-dark: #000000;
JSON
{
  "hex": "#214812",
  "rgb": {
    "r": 33,
    "g": 72,
    "b": 18
  },
  "hsl": {
    "h": 103.333,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.35999,
    "c": 0.09332,
    "h": 138.3
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#214812
secondary
#6C3581
accent
#45E3B7
background
#F5F7F4
surface
#EAEEE7
border
#C6C9C3
text
#050902
muted
#797B78

Preview Lab

Preview with #214812

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

Preview Lab → · Contrast checker → · Palette generator →

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