#072A0A#072A0A

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

Color values

HEX#072A0A
RGBrgb(7, 42, 10)
HSLhsl(125, 71%, 10%)
HSVhsv(125, 83%, 16%)
CMYKcmyk(83.3%, 0%, 76.2%, 83.5%)
CIE-LABlab(13.96, -20.67, 15.94)
CIE-LCHlch(13.96, 26.10, 142.37°)
OKLaboklab(25.14% -0.0559 0.0398)
OKLCHoklch(25.14% 0.069 144.6)
XYZxyz(0.9703, 1.7229, 0.5685)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A0A #2A0727
analogous
#162A07 #072A0A #072A1C
triadic
#072A0A #0A072A #2A0A07
tetradic
#072A0A #07162A #2A0727 #2A1C07
square
#072A0A #07162A #2A0727 #2A1C07
split-complementary
#072A0A #1C072A #2A0716
monochromatic
#041A06 #041A06 #072A0A #105E16 #189323

Accessibility & contrast

On white

15.62
#072A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072A0A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A0A#FFFFFF#000000##FFFFFF
##072A0A1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2507
Deuteranopia (green-blind)
#27220D
Tritanopia (blue-blind)
#012923
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #072a0a;
/* rgb */ color: rgb(7, 42, 10);
/* oklch */ color: oklch(25.1% 0.069 144.6);
Tailwind
colors: {
  custom: {
    50: '#4c644b',
    500: '#072a0a',
    950: '#000000',
  },
}
SCSS
$custom: #072a0a;
$custom-light: #4c644b;
$custom-dark: #000000;
JSON
{
  "hex": "#072a0a",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 10
  },
  "hsl": {
    "h": 125.143,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2514,
    "c": 0.06863,
    "h": 144.6
  },
  "luminance": 0.01723
}

Semantic roles & 50–950 ramp

primary
#072A0A
secondary
#6A2364
accent
#3ADFEE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #072A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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