#072C0B#072C0B

#072C0B is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.8% C 0.071 H 144.9°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#072C0B
RGBrgb(7, 44, 11)
HSLhsl(126, 73%, 10%)
HSVhsv(126, 84%, 17%)
CMYKcmyk(84.1%, 0%, 75%, 82.7%)
CIE-LABlab(14.79, -21.42, 16.60)
CIE-LCHlch(14.79, 27.10, 142.22°)
OKLaboklab(25.83% -0.0579 0.0407)
OKLCHoklch(25.83% 0.071 144.9)
XYZxyz(1.0486, 1.8706, 0.6223)
Luminance0.0187 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072C0B #2C0728
analogous
#162C07 #072C0B #072C1D
triadic
#072C0B #0B072C #2C0B07
tetradic
#072C0B #07162C #2C0728 #2C1D07
square
#072C0B #07162C #2C0728 #2C1D07
split-complementary
#072C0B #1D072C #2C0716
monochromatic
#041A07 #041A07 #072C0B #0F6118 #189625

Accessibility & contrast

On white

15.28
#072C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072C0B
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072C0B#FFFFFF#000000##FFFFFF
##072C0B1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2708
Deuteranopia (green-blind)
#29240E
Tritanopia (blue-blind)
#002B25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072c0b;
/* rgb */ color: rgb(7, 44, 11);
/* oklch */ color: oklch(25.8% 0.071 144.9);
Tailwind
colors: {
  custom: {
    50: '#4c654c',
    500: '#072c0b',
    950: '#000000',
  },
}
SCSS
$custom: #072c0b;
$custom-light: #4c654c;
$custom-dark: #000000;
JSON
{
  "hex": "#072c0b",
  "rgb": {
    "r": 7,
    "g": 44,
    "b": 11
  },
  "hsl": {
    "h": 126.486,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.25834,
    "c": 0.07076,
    "h": 144.9
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#072C0B
secondary
#6C2364
accent
#39DCEF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #072C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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