#214F12#214F12

#214F12 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.103 H 139.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#214F12
RGBrgb(33, 79, 18)
HSLhsl(105, 63%, 19%)
HSVhsv(105, 77%, 31%)
CMYKcmyk(58.2%, 0%, 77.2%, 69%)
CIE-LABlab(29.31, -28.44, 29.79)
CIE-LCHlch(29.31, 41.18, 133.67°)
OKLaboklab(38.11% -0.0783 0.0677)
OKLCHoklch(38.11% 0.104 139.1)
XYZxyz(3.5322, 5.9587, 1.5362)
Luminance0.0596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#214F12 #40124F
analogous
#404F12 #214F12 #124F22
triadic
#214F12 #12214F #4F1221
tetradic
#214F12 #12404F #40124F #4F2212
square
#214F12 #12404F #40124F #4F2212
split-complementary
#214F12 #22124F #4F1240
monochromatic
#0A1906 #0C1D07 #214F12 #36811D #4BB329

Accessibility & contrast

On white

9.58
#214F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#214F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #214F12
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##214F12#FFFFFF#000000##FFFFFF
##214F121.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524708
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#1D4C43
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #214f12;
/* rgb */ color: rgb(33, 79, 18);
/* oklch */ color: oklch(38.1% 0.103 139.1);
Tailwind
colors: {
  custom: {
    50: '#628154',
    500: '#214f12',
    950: '#000000',
  },
}
SCSS
$custom: #214f12;
$custom-light: #628154;
$custom-dark: #000000;
JSON
{
  "hex": "#214f12",
  "rgb": {
    "r": 33,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 105.246,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38112,
    "c": 0.1035,
    "h": 139.1
  },
  "luminance": 0.05959
}

Semantic roles & 50–950 ramp

primary
#214F12
secondary
#743588
accent
#42E6BE
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#050A03
muted
#7A7C78

Preview Lab

Preview with #214F12

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

Preview Lab → · Contrast checker → · Palette generator →

#214F12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva