#072A17#072A17

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

Color values

HEX#072A17
RGBrgb(7, 42, 23)
HSLhsl(147, 71%, 10%)
HSVhsv(147, 83%, 16%)
CMYKcmyk(83.3%, 0%, 45.2%, 83.5%)
CIE-LABlab(14.19, -18.06, 8.89)
CIE-LCHlch(14.19, 20.13, 153.80°)
OKLaboklab(25.41% -0.0489 0.0223)
OKLCHoklch(25.41% 0.054 155.5)
XYZxyz(1.0701, 1.7628, 1.0943)
Luminance0.0176 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A17 #2A071A
analogous
#082A07 #072A17 #072A29
triadic
#072A17 #17072A #2A1707
tetradic
#072A17 #07082A #2A071A #2A2907
square
#072A17 #07082A #2A071A #2A2907
split-complementary
#072A17 #29072A #2A0708
monochromatic
#041A0E #041A0E #072A17 #105E34 #189350

Accessibility & contrast

On white

15.53
#072A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072A17
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A17#FFFFFF#000000##FFFFFF
##072A171.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #072a17;
/* rgb */ color: rgb(7, 42, 23);
/* oklch */ color: oklch(25.4% 0.054 155.5);
Tailwind
colors: {
  custom: {
    50: '#4c6454',
    500: '#072a17',
    950: '#000000',
  },
}
SCSS
$custom: #072a17;
$custom-light: #4c6454;
$custom-dark: #000000;
JSON
{
  "hex": "#072a17",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 23
  },
  "hsl": {
    "h": 147.429,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25405,
    "c": 0.05374,
    "h": 155.5
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#072A17
secondary
#6A2349
accent
#3A9CEE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #072A17

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

Preview Lab → · Contrast checker → · Palette generator →

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