#072C0C#072C0C

#072C0C is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.8% C 0.070 H 145.4°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#072C0C
RGBrgb(7, 44, 12)
HSLhsl(128, 73%, 10%)
HSVhsv(128, 84%, 17%)
CMYKcmyk(84.1%, 0%, 72.7%, 82.7%)
CIE-LABlab(14.81, -21.27, 16.18)
CIE-LCHlch(14.81, 26.72, 142.74°)
OKLaboklab(25.85% -0.0574 0.0396)
OKLCHoklch(25.85% 0.07 145.4)
XYZxyz(1.0546, 1.8730, 0.6537)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072C0C #2C0727
analogous
#152C07 #072C0C #072C1E
triadic
#072C0C #0C072C #2C0C07
tetradic
#072C0C #07152C #2C0727 #2C1E07
square
#072C0C #07152C #2C0727 #2C1E07
split-complementary
#072C0C #1E072C #2C0715
monochromatic
#041A07 #041A07 #072C0C #0F611A #189629

Accessibility & contrast

On white

15.28
#072C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#072C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072C0C
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072C0C#FFFFFF#000000##FFFFFF
##072C0C1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2709
Deuteranopia (green-blind)
#28240F
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072c0c;
/* rgb */ color: rgb(7, 44, 12);
/* oklch */ color: oklch(25.8% 0.070 145.4);
Tailwind
colors: {
  custom: {
    50: '#4c654c',
    500: '#072c0c',
    950: '#000000',
  },
}
SCSS
$custom: #072c0c;
$custom-light: #4c654c;
$custom-dark: #000000;
JSON
{
  "hex": "#072c0c",
  "rgb": {
    "r": 7,
    "g": 44,
    "b": 12
  },
  "hsl": {
    "h": 128.108,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.25849,
    "c": 0.06975,
    "h": 145.4
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#072C0C
secondary
#6C2362
accent
#39D7EF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #072C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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