#072A15#072A15

#072A15 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.4% C 0.056 H 153.2°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#072A15
RGBrgb(7, 42, 21)
HSLhsl(144, 71%, 10%)
HSVhsv(144, 83%, 16%)
CMYKcmyk(83.3%, 0%, 50%, 83.5%)
CIE-LABlab(14.15, -18.55, 10.19)
CIE-LCHlch(14.15, 21.17, 151.21°)
OKLaboklab(25.35% -0.0501 0.0254)
OKLCHoklch(25.35% 0.056 153.2)
XYZxyz(1.0509, 1.7551, 0.9927)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A15 #2A071C
analogous
#0B2A07 #072A15 #072A27
triadic
#072A15 #15072A #2A1507
tetradic
#072A15 #070B2A #2A071C #2A2707
square
#072A15 #070B2A #2A071C #2A2707
split-complementary
#072A15 #27072A #2A070B
monochromatic
#041A0D #041A0D #072A15 #105E2F #189349

Accessibility & contrast

On white

15.54
#072A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#072A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A15
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A15#FFFFFF#000000##FFFFFF
##072A151.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2614
Deuteranopia (green-blind)
#262316
Tritanopia (blue-blind)
#002925
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #072a15;
/* rgb */ color: rgb(7, 42, 21);
/* oklch */ color: oklch(25.4% 0.056 153.2);
Tailwind
colors: {
  custom: {
    50: '#4c6452',
    500: '#072a15',
    950: '#000000',
  },
}
SCSS
$custom: #072a15;
$custom-light: #4c6452;
$custom-dark: #000000;
JSON
{
  "hex": "#072a15",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 21
  },
  "hsl": {
    "h": 144,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25354,
    "c": 0.05613,
    "h": 153.2
  },
  "luminance": 0.01755
}

Semantic roles & 50–950 ramp

primary
#072A15
secondary
#6A234D
accent
#3AA6EE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #072A15

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

Preview Lab → · Contrast checker → · Palette generator →

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