#072012#072012

#072012 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.9% C 0.042 H 156.1°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#072012
RGBrgb(7, 32, 18)
HSLhsl(146, 64%, 8%)
HSVhsv(146, 78%, 13%)
CMYKcmyk(78.1%, 0%, 43.8%, 87.5%)
CIE-LABlab(9.97, -13.74, 6.44)
CIE-LCHlch(9.97, 15.18, 154.89°)
OKLaboklab(21.9% -0.0382 0.0169)
OKLCHoklch(21.9% 0.042 156.1)
XYZxyz(0.7133, 1.1218, 0.7511)
Luminance0.0112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072012 #200715
analogous
#082007 #072012 #07201E
triadic
#072012 #120720 #201207
tetradic
#072012 #070820 #200715 #201E07
square
#072012 #070820 #200715 #201E07
split-complementary
#072012 #1E0720 #200708
monochromatic
#05190E #05190E #072012 #12522E #1D844A

Accessibility & contrast

On white

17.15
#072012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#072012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072012
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072012#FFFFFF#000000##FFFFFF
##0720121.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D11
Deuteranopia (green-blind)
#1C1A13
Tritanopia (blue-blind)
#02201C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #072012;
/* rgb */ color: rgb(7, 32, 18);
/* oklch */ color: oklch(21.9% 0.042 156.1);
Tailwind
colors: {
  custom: {
    50: '#495b4f',
    500: '#072012',
    950: '#000000',
  },
}
SCSS
$custom: #072012;
$custom-light: #495b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#072012",
  "rgb": {
    "r": 7,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 146.4,
    "s": 64.103,
    "l": 7.647
  },
  "oklch": {
    "l": 0.21899,
    "c": 0.04178,
    "h": 156.1
  },
  "luminance": 0.01122
}

Semantic roles & 50–950 ramp

primary
#072012
secondary
#5F2445
accent
#419EE7
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010402
muted
#777978

Preview Lab

Preview with #072012

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

Preview Lab → · Contrast checker → · Palette generator →

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