#072C04#072C04

#072C04 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.7% C 0.078 H 141.7°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#072C04
RGBrgb(7, 44, 4)
HSLhsl(116, 83%, 9%)
HSVhsv(116, 91%, 17%)
CMYKcmyk(84.1%, 0%, 90.9%, 82.7%)
CIE-LABlab(14.71, -22.43, 19.36)
CIE-LCHlch(14.71, 29.63, 139.21°)
OKLaboklab(25.74% -0.0612 0.0483)
OKLCHoklch(25.74% 0.078 141.7)
XYZxyz(1.0102, 1.8552, 0.4197)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072C04 #29042C
analogous
#1B2C04 #072C04 #042C15
triadic
#072C04 #04072C #2C0407
tetradic
#072C04 #041B2C #29042C #2C1504
square
#072C04 #041B2C #29042C #2C1504
split-complementary
#072C04 #15042C #2C041B
monochromatic
#041C03 #041C03 #072C04 #106409 #199C0E

Accessibility & contrast

On white

15.32
#072C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072C04
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072C04#FFFFFF#000000##FFFFFF
##072C041.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#292407
Tritanopia (blue-blind)
#022A24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072c04;
/* rgb */ color: rgb(7, 44, 4);
/* oklch */ color: oklch(25.7% 0.078 141.7);
Tailwind
colors: {
  custom: {
    50: '#4c6648',
    500: '#072c04',
    950: '#000000',
  },
}
SCSS
$custom: #072c04;
$custom-light: #4c6648;
$custom-dark: #000000;
JSON
{
  "hex": "#072c04",
  "rgb": {
    "r": 7,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 115.5,
    "s": 83.333,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25736,
    "c": 0.07797,
    "h": 141.7
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#072C04
secondary
#691D6F
accent
#2EFAEA
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010600
muted
#777A77

Preview Lab

Preview with #072C04

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

Preview Lab → · Contrast checker → · Palette generator →

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