#122012#122012

#122012 is a very dark, muted green. Relative luminance 0.012; OKLCH L 22.6% C 0.033 H 144.4°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#122012
RGBrgb(18, 32, 18)
HSLhsl(120, 28%, 10%)
HSVhsv(120, 44%, 13%)
CMYKcmyk(43.8%, 0%, 43.8%, 87.5%)
CIE-LABlab(10.60, -9.84, 7.42)
CIE-LCHlch(10.60, 12.33, 143.00°)
OKLaboklab(22.58% -0.0268 0.0192)
OKLCHoklch(22.58% 0.033 144.4)
XYZxyz(0.8751, 1.2053, 0.7587)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122012 #201220
analogous
#192012 #122012 #122019
triadic
#122012 #121220 #201212
tetradic
#122012 #121920 #201220 #201912
square
#122012 #121920 #201220 #201912
split-complementary
#122012 #191220 #201219
monochromatic
#0B140B #0B140B #122012 #284728 #3E6E3E

Accessibility & contrast

On white

16.92
#122012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#122012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122012
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122012#FFFFFF#000000##FFFFFF
##1220121.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211E11
Deuteranopia (green-blind)
#1E1C13
Tritanopia (blue-blind)
#111F1C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #122012;
/* rgb */ color: rgb(18, 32, 18);
/* oklch */ color: oklch(22.6% 0.033 144.4);
Tailwind
colors: {
  custom: {
    50: '#505b50',
    500: '#122012',
    950: '#000000',
  },
}
SCSS
$custom: #122012;
$custom-light: #505b50;
$custom-dark: #000000;
JSON
{
  "hex": "#122012",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 120,
    "s": 28,
    "l": 9.804
  },
  "oklch": {
    "l": 0.22582,
    "c": 0.03302,
    "h": 144.4
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#122012
secondary
#553955
accent
#63C4C4
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020402
muted
#787978

Preview Lab

Preview with #122012

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

Preview Lab → · Contrast checker → · Palette generator →

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