#072A02#072A02

#072A02 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.0% C 0.078 H 140.7°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#072A02
RGBrgb(7, 42, 2)
HSLhsl(113, 91%, 9%)
HSVhsv(113, 95%, 16%)
CMYKcmyk(83.3%, 0%, 95.2%, 83.5%)
CIE-LABlab(13.86, -21.89, 19.06)
CIE-LCHlch(13.86, 29.03, 138.95°)
OKLaboklab(25.02% -0.0599 0.0491)
OKLCHoklch(25.02% 0.078 140.7)
XYZxyz(0.9265, 1.7054, 0.3378)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072A02 #25022A
analogous
#1B2A02 #072A02 #022A11
triadic
#072A02 #02072A #2A0207
tetradic
#072A02 #021B2A #25022A #2A1102
square
#072A02 #021B2A #25022A #2A1102
split-complementary
#072A02 #11022A #2A021B
monochromatic
#051D01 #051D01 #072A02 #116405 #1A9F08

Accessibility & contrast

On white

15.66
#072A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072A02
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072A02#FFFFFF#000000##FFFFFF
##072A021.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#032822
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #072a02;
/* rgb */ color: rgb(7, 42, 2);
/* oklch */ color: oklch(25.0% 0.078 140.7);
Tailwind
colors: {
  custom: {
    50: '#4b6447',
    500: '#072a02',
    950: '#000000',
  },
}
SCSS
$custom: #072a02;
$custom-light: #4b6447;
$custom-dark: #000000;
JSON
{
  "hex": "#072a02",
  "rgb": {
    "r": 7,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 112.5,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.25023,
    "c": 0.07752,
    "h": 140.7
  },
  "luminance": 0.01705
}

Semantic roles & 50–950 ramp

primary
#072A02
secondary
#64196F
accent
#29FFE4
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #072A02

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

Preview Lab → · Contrast checker → · Palette generator →

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