#072A05#072A05

#072A05 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.1% C 0.074 H 142.1°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#072A05
RGBrgb(7, 42, 5)
HSLhsl(117, 79%, 9%)
HSVhsv(117, 88%, 16%)
CMYKcmyk(83.3%, 0%, 88.1%, 83.5%)
CIE-LABlab(13.90, -21.43, 17.89)
CIE-LCHlch(13.90, 27.92, 140.14°)
OKLaboklab(25.07% -0.0584 0.0455)
OKLCHoklch(25.07% 0.074 142.1)
XYZxyz(0.9429, 1.7120, 0.4243)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A05 #28052A
analogous
#1A2A05 #072A05 #052A16
triadic
#072A05 #05072A #2A0507
tetradic
#072A05 #051A2A #28052A #2A1605
square
#072A05 #051A2A #28052A #2A1605
split-complementary
#072A05 #16052A #2A051A
monochromatic
#051B03 #051B03 #072A05 #10610C #199712

Accessibility & contrast

On white

15.64
#072A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#072A05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A05
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A05#FFFFFF#000000##FFFFFF
##072A051.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2502
Deuteranopia (green-blind)
#272208
Tritanopia (blue-blind)
#022823
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #072a05;
/* rgb */ color: rgb(7, 42, 5);
/* oklch */ color: oklch(25.1% 0.074 142.1);
Tailwind
colors: {
  custom: {
    50: '#4c6449',
    500: '#072a05',
    950: '#000000',
  },
}
SCSS
$custom: #072a05;
$custom-light: #4c6449;
$custom-dark: #000000;
JSON
{
  "hex": "#072a05",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 116.757,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25067,
    "c": 0.07398,
    "h": 142.1
  },
  "luminance": 0.01712
}

Semantic roles & 50–950 ramp

primary
#072A05
secondary
#681F6C
accent
#33F5EB
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #072A05

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

Preview Lab → · Contrast checker → · Palette generator →

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