#072A06#072A06

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

Color values

HEX#072A06
RGBrgb(7, 42, 6)
HSLhsl(118, 75%, 9%)
HSVhsv(118, 86%, 16%)
CMYKcmyk(83.3%, 0%, 85.7%, 83.5%)
CIE-LABlab(13.91, -21.28, 17.50)
CIE-LCHlch(13.91, 27.55, 140.56°)
OKLaboklab(25.08% -0.0578 0.0443)
OKLCHoklch(25.08% 0.073 142.6)
XYZxyz(0.9484, 1.7141, 0.4531)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A06 #29062A
analogous
#192A06 #072A06 #062A17
triadic
#072A06 #06072A #2A0607
tetradic
#072A06 #06192A #29062A #2A1706
square
#072A06 #06192A #29062A #2A1706
split-complementary
#072A06 #17062A #2A0619
monochromatic
#041B04 #041B04 #072A06 #10600E #199515

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##072A06#FFFFFF#000000##FFFFFF
##072A061.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)
#2B2503
Deuteranopia (green-blind)
#272209
Tritanopia (blue-blind)
#022823
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #072a06;
/* rgb */ color: rgb(7, 42, 6);
/* oklch */ color: oklch(25.1% 0.073 142.6);
Tailwind
colors: {
  custom: {
    50: '#4c6449',
    500: '#072a06',
    950: '#000000',
  },
}
SCSS
$custom: #072a06;
$custom-light: #4c6449;
$custom-dark: #000000;
JSON
{
  "hex": "#072a06",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 118.333,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25082,
    "c": 0.07285,
    "h": 142.6
  },
  "luminance": 0.01714
}

Semantic roles & 50–950 ramp

primary
#072A06
secondary
#69216B
accent
#36F2EC
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #072A06

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

Preview Lab → · Contrast checker → · Palette generator →

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