#072C0F#072C0F

#072C0F is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.9% C 0.067 H 147.3°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#072C0F
RGBrgb(7, 44, 15)
HSLhsl(133, 73%, 10%)
HSVhsv(133, 84%, 17%)
CMYKcmyk(84.1%, 0%, 65.9%, 82.7%)
CIE-LABlab(14.85, -20.75, 14.76)
CIE-LCHlch(14.85, 25.47, 144.59°)
OKLaboklab(25.9% -0.0559 0.036)
OKLCHoklch(25.9% 0.067 147.3)
XYZxyz(1.0745, 1.8809, 0.7583)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072C0F #2C0724
analogous
#112C07 #072C0F #072C22
triadic
#072C0F #0F072C #2C0F07
tetradic
#072C0F #07112C #2C0724 #2C2207
square
#072C0F #07112C #2C0724 #2C2207
split-complementary
#072C0F #22072C #2C0711
monochromatic
#041A09 #041A09 #072C0F #0F6121 #189633

Accessibility & contrast

On white

15.26
#072C0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072C0F
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072C0F#FFFFFF#000000##FFFFFF
##072C0F1.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D270C
Deuteranopia (green-blind)
#282411
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072c0f;
/* rgb */ color: rgb(7, 44, 15);
/* oklch */ color: oklch(25.9% 0.067 147.3);
Tailwind
colors: {
  custom: {
    50: '#4c654e',
    500: '#072c0f',
    950: '#000000',
  },
}
SCSS
$custom: #072c0f;
$custom-light: #4c654e;
$custom-dark: #000000;
JSON
{
  "hex": "#072c0f",
  "rgb": {
    "r": 7,
    "g": 44,
    "b": 15
  },
  "hsl": {
    "h": 132.973,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.25899,
    "c": 0.06652,
    "h": 147.3
  },
  "luminance": 0.01881
}

Semantic roles & 50–950 ramp

primary
#072C0F
secondary
#6C235C
accent
#39C8EF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #072C0F

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

Preview Lab → · Contrast checker → · Palette generator →

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