#072A0B#072A0B

#072A0B is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.2% C 0.068 H 145.1°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#072A0B
RGBrgb(7, 42, 11)
HSLhsl(127, 71%, 10%)
HSVhsv(127, 83%, 16%)
CMYKcmyk(83.3%, 0%, 73.8%, 83.5%)
CIE-LABlab(13.97, -20.52, 15.54)
CIE-LCHlch(13.97, 25.74, 142.87°)
OKLaboklab(25.16% -0.0555 0.0386)
OKLCHoklch(25.16% 0.068 145.1)
XYZxyz(0.9759, 1.7252, 0.5981)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A0B #2A0726
analogous
#152A07 #072A0B #072A1D
triadic
#072A0B #0B072A #2A0B07
tetradic
#072A0B #07152A #2A0726 #2A1D07
square
#072A0B #07152A #2A0726 #2A1D07
split-complementary
#072A0B #1D072A #2A0715
monochromatic
#041A07 #041A07 #072A0B #105E19 #189326

Accessibility & contrast

On white

15.61
#072A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#072A0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072A0B
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A0B#FFFFFF#000000##FFFFFF
##072A0B1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #072a0b;
/* rgb */ color: rgb(7, 42, 11);
/* oklch */ color: oklch(25.2% 0.068 145.1);
Tailwind
colors: {
  custom: {
    50: '#4c644c',
    500: '#072a0b',
    950: '#000000',
  },
}
SCSS
$custom: #072a0b;
$custom-light: #4c644c;
$custom-dark: #000000;
JSON
{
  "hex": "#072a0b",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 11
  },
  "hsl": {
    "h": 126.857,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25155,
    "c": 0.06761,
    "h": 145.1
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#072A0B
secondary
#6A2362
accent
#3ADAEE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #072A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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