#072B18#072B18

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

Color values

HEX#072B18
RGBrgb(7, 43, 24)
HSLhsl(148, 72%, 10%)
HSVhsv(148, 84%, 17%)
CMYKcmyk(83.7%, 0%, 44.2%, 83.1%)
CIE-LABlab(14.62, -18.32, 8.78)
CIE-LCHlch(14.62, 20.31, 154.39°)
OKLaboklab(25.76% -0.0496 0.0221)
OKLCHoklch(25.76% 0.054 156)
XYZxyz(1.1163, 1.8387, 1.1601)
Luminance0.0184 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072B18 #2B071A
analogous
#082B07 #072B18 #072B2A
triadic
#072B18 #18072B #2B1807
tetradic
#072B18 #07082B #2B071A #2B2A07
square
#072B18 #07082B #2B071A #2B2A07
split-complementary
#072B18 #2A072B #2B0708
monochromatic
#041A0F #041A0F #072B18 #106035 #189453

Accessibility & contrast

On white

15.35
#072B18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072B18
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072B18#FFFFFF#000000##FFFFFF
##072B181.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2717
Deuteranopia (green-blind)
#262419
Tritanopia (blue-blind)
#002B26
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072b18;
/* rgb */ color: rgb(7, 43, 24);
/* oklch */ color: oklch(25.8% 0.054 156.0);
Tailwind
colors: {
  custom: {
    50: '#4c6454',
    500: '#072b18',
    950: '#000000',
  },
}
SCSS
$custom: #072b18;
$custom-light: #4c6454;
$custom-dark: #000000;
JSON
{
  "hex": "#072b18",
  "rgb": {
    "r": 7,
    "g": 43,
    "b": 24
  },
  "hsl": {
    "h": 148.333,
    "s": 72,
    "l": 9.804
  },
  "oklch": {
    "l": 0.25764,
    "c": 0.05429,
    "h": 156
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#072B18
secondary
#6B2349
accent
#3999EF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #072B18

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

Preview Lab → · Contrast checker → · Palette generator →

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