#072A0C#072A0C

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

Color values

HEX#072A0C
RGBrgb(7, 42, 12)
HSLhsl(129, 71%, 10%)
HSVhsv(129, 83%, 16%)
CMYKcmyk(83.3%, 0%, 71.4%, 83.5%)
CIE-LABlab(13.99, -20.36, 15.11)
CIE-LCHlch(13.99, 25.35, 143.41°)
OKLaboklab(25.17% -0.055 0.0375)
OKLCHoklch(25.17% 0.067 145.7)
XYZxyz(0.9819, 1.7275, 0.6295)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A0C #2A0725
analogous
#142A07 #072A0C #072A1E
triadic
#072A0C #0C072A #2A0C07
tetradic
#072A0C #07142A #2A0725 #2A1E07
square
#072A0C #07142A #2A0725 #2A1E07
split-complementary
#072A0C #1E072A #2A0714
monochromatic
#041A07 #041A07 #072A0C #105E1B #18932A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##072A0C#FFFFFF#000000##FFFFFF
##072A0C1.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)
#2B2509
Deuteranopia (green-blind)
#27220E
Tritanopia (blue-blind)
#012923
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #072a0c;
/* rgb */ color: rgb(7, 42, 12);
/* oklch */ color: oklch(25.2% 0.067 145.7);
Tailwind
colors: {
  custom: {
    50: '#4c644c',
    500: '#072a0c',
    950: '#000000',
  },
}
SCSS
$custom: #072a0c;
$custom-light: #4c644c;
$custom-dark: #000000;
JSON
{
  "hex": "#072a0c",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 12
  },
  "hsl": {
    "h": 128.571,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.25171,
    "c": 0.06655,
    "h": 145.7
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#072A0C
secondary
#6A2360
accent
#3AD4EE
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #072A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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