#072F0C#072F0C

#072F0C is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.9% C 0.074 H 145.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#072F0C
RGBrgb(7, 47, 12)
HSLhsl(128, 74%, 11%)
HSVhsv(128, 85%, 18%)
CMYKcmyk(85.1%, 0%, 74.5%, 81.6%)
CIE-LABlab(16.03, -22.59, 17.73)
CIE-LCHlch(16.03, 28.71, 141.87°)
OKLaboklab(26.86% -0.061 0.0426)
OKLCHoklch(26.86% 0.074 145.1)
XYZxyz(1.1704, 2.1046, 0.6923)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F0C #2F072A
analogous
#162F07 #072F0C #072F20
triadic
#072F0C #0C072F #2F0C07
tetradic
#072F0C #07162F #2F072A #2F2007
square
#072F0C #07162F #2F072A #2F2007
split-complementary
#072F0C #20072F #2F0716
monochromatic
#041B07 #041B07 #072F0C #0F641A #179A27

Accessibility & contrast

On white

14.78
#072F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#072F0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072F0C
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072F0C#FFFFFF#000000##FFFFFF
##072F0C1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A08
Deuteranopia (green-blind)
#2B270F
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072f0c;
/* rgb */ color: rgb(7, 47, 12);
/* oklch */ color: oklch(26.9% 0.074 145.1);
Tailwind
colors: {
  custom: {
    50: '#4d684c',
    500: '#072f0c',
    950: '#000000',
  },
}
SCSS
$custom: #072f0c;
$custom-light: #4d684c;
$custom-dark: #000000;
JSON
{
  "hex": "#072f0c",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 12
  },
  "hsl": {
    "h": 127.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2686,
    "c": 0.07441,
    "h": 145.1
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#072F0C
secondary
#6F2365
accent
#37DAF1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #072F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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