#072C18#072C18

#072C18 is a dark, muted green. Relative luminance 0.019; OKLCH L 26.1% C 0.056 H 155.4°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#072C18
RGBrgb(7, 44, 24)
HSLhsl(148, 73%, 10%)
HSVhsv(148, 84%, 17%)
CMYKcmyk(84.1%, 0%, 45.5%, 82.7%)
CIE-LABlab(15.02, -18.82, 9.32)
CIE-LCHlch(15.02, 21.00, 153.65°)
OKLaboklab(26.1% -0.0509 0.0234)
OKLCHoklch(26.1% 0.056 155.4)
XYZxyz(1.1531, 1.9124, 1.1723)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072C18 #2C071B
analogous
#082C07 #072C18 #072C2B
triadic
#072C18 #18072C #2C1807
tetradic
#072C18 #07082C #2C071B #2C2B07
square
#072C18 #07082C #2C071B #2C2B07
split-complementary
#072C18 #2B072C #2C0708
monochromatic
#041A0E #041A0E #072C18 #0F6135 #189652

Accessibility & contrast

On white

15.19
#072C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#072C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072C18
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072C18#FFFFFF#000000##FFFFFF
##072C181.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2817
Deuteranopia (green-blind)
#272419
Tritanopia (blue-blind)
#002B27
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #072c18;
/* rgb */ color: rgb(7, 44, 24);
/* oklch */ color: oklch(26.1% 0.056 155.4);
Tailwind
colors: {
  custom: {
    50: '#4c6554',
    500: '#072c18',
    950: '#000000',
  },
}
SCSS
$custom: #072c18;
$custom-light: #4c6554;
$custom-dark: #000000;
JSON
{
  "hex": "#072c18",
  "rgb": {
    "r": 7,
    "g": 44,
    "b": 24
  },
  "hsl": {
    "h": 147.568,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.26096,
    "c": 0.056,
    "h": 155.4
  },
  "luminance": 0.01912
}

Semantic roles & 50–950 ramp

primary
#072C18
secondary
#6C234A
accent
#399BEF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #072C18

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

Preview Lab → · Contrast checker → · Palette generator →

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