#072D0C#072D0C

#072D0C is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.2% C 0.071 H 145.3°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#072D0C
RGBrgb(7, 45, 12)
HSLhsl(128, 73%, 10%)
HSVhsv(128, 84%, 18%)
CMYKcmyk(84.4%, 0%, 73.3%, 82.4%)
CIE-LABlab(15.21, -21.71, 16.70)
CIE-LCHlch(15.21, 27.39, 142.43°)
OKLaboklab(26.19% -0.0586 0.0406)
OKLCHoklch(26.19% 0.071 145.3)
XYZxyz(1.0923, 1.9484, 0.6663)
Luminance0.0195 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072D0C #2D0728
analogous
#152D07 #072D0C #072D1F
triadic
#072D0C #0C072D #2D0C07
tetradic
#072D0C #07152D #2D0728 #2D1F07
square
#072D0C #07152D #2D0728 #2D1F07
split-complementary
#072D0C #1F072D #2D0715
monochromatic
#041A07 #041A07 #072D0C #0F621A #179728

Accessibility & contrast

On white

15.11
#072D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#072D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072D0C
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072D0C#FFFFFF#000000##FFFFFF
##072D0C1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2809
Deuteranopia (green-blind)
#29250F
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #072d0c;
/* rgb */ color: rgb(7, 45, 12);
/* oklch */ color: oklch(26.2% 0.071 145.3);
Tailwind
colors: {
  custom: {
    50: '#4d664c',
    500: '#072d0c',
    950: '#000000',
  },
}
SCSS
$custom: #072d0c;
$custom-light: #4d664c;
$custom-dark: #000000;
JSON
{
  "hex": "#072d0c",
  "rgb": {
    "r": 7,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 127.895,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26186,
    "c": 0.07132,
    "h": 145.3
  },
  "luminance": 0.01948
}

Semantic roles & 50–950 ramp

primary
#072D0C
secondary
#6D2363
accent
#38D8F0
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #072D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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