#072A18#072A18

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

Color values

HEX#072A18
RGBrgb(7, 42, 24)
HSLhsl(149, 71%, 10%)
HSVhsv(149, 83%, 16%)
CMYKcmyk(83.3%, 0%, 42.9%, 83.5%)
CIE-LABlab(14.21, -17.81, 8.23)
CIE-LCHlch(14.21, 19.62, 155.18°)
OKLaboklab(25.43% -0.0483 0.0207)
OKLCHoklch(25.43% 0.053 156.8)
XYZxyz(1.0804, 1.7669, 1.1481)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A18 #2A0719
analogous
#072A07 #072A18 #072A2A
triadic
#072A18 #18072A #2A1807
tetradic
#072A18 #07072A #2A0719 #2A2A07
square
#072A18 #07072A #2A0719 #2A2A07
split-complementary
#072A18 #2A072A #2A0707
monochromatic
#041A0F #041A0F #072A18 #105E36 #189354

Accessibility & contrast

On white

15.52
#072A18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072A18
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A18#FFFFFF#000000##FFFFFF
##072A181.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2617
Deuteranopia (green-blind)
#252319
Tritanopia (blue-blind)
#002A25
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #072a18;
/* rgb */ color: rgb(7, 42, 24);
/* oklch */ color: oklch(25.4% 0.053 156.8);
Tailwind
colors: {
  custom: {
    50: '#4c6454',
    500: '#072a18',
    950: '#000000',
  },
}
SCSS
$custom: #072a18;
$custom-light: #4c6454;
$custom-dark: #000000;
JSON
{
  "hex": "#072a18",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 24
  },
  "hsl": {
    "h": 149.143,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25432,
    "c": 0.05256,
    "h": 156.8
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#072A18
secondary
#6A2347
accent
#3A96EE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #072A18

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

Preview Lab → · Contrast checker → · Palette generator →

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