#072C12#072C12

#072C12 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.0% C 0.063 H 149.5°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#072C12
RGBrgb(7, 44, 18)
HSLhsl(138, 73%, 10%)
HSVhsv(138, 84%, 17%)
CMYKcmyk(84.1%, 0%, 59.1%, 82.7%)
CIE-LABlab(14.90, -20.18, 13.11)
CIE-LCHlch(14.90, 24.07, 146.98°)
OKLaboklab(25.96% -0.0543 0.0321)
OKLCHoklch(25.96% 0.063 149.5)
XYZxyz(1.0974, 1.8901, 0.8791)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072C12 #2C0721
analogous
#0E2C07 #072C12 #072C25
triadic
#072C12 #12072C #2C1207
tetradic
#072C12 #070E2C #2C0721 #2C2507
square
#072C12 #070E2C #2C0721 #2C2507
split-complementary
#072C12 #25072C #2C070E
monochromatic
#041A0B #041A0B #072C12 #0F6128 #18963D

Accessibility & contrast

On white

15.24
#072C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#072C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072C12
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072C12#FFFFFF#000000##FFFFFF
##072C121.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2710
Deuteranopia (green-blind)
#282414
Tritanopia (blue-blind)
#002B26
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072c12;
/* rgb */ color: rgb(7, 44, 18);
/* oklch */ color: oklch(26.0% 0.063 149.5);
Tailwind
colors: {
  custom: {
    50: '#4c6550',
    500: '#072c12',
    950: '#000000',
  },
}
SCSS
$custom: #072c12;
$custom-light: #4c6550;
$custom-dark: #000000;
JSON
{
  "hex": "#072c12",
  "rgb": {
    "r": 7,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 137.838,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.25957,
    "c": 0.0631,
    "h": 149.5
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#072C12
secondary
#6C2356
accent
#39B9EF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #072C12

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

Preview Lab → · Contrast checker → · Palette generator →

#072C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva