#072802#072802

#072802 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.3% C 0.075 H 140.5°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#072802
RGBrgb(7, 40, 2)
HSLhsl(112, 90%, 8%)
HSVhsv(112, 95%, 16%)
CMYKcmyk(82.5%, 0%, 95%, 84.3%)
CIE-LABlab(13.03, -21.04, 17.96)
CIE-LCHlch(13.03, 27.66, 139.51°)
OKLaboklab(24.34% -0.0577 0.0476)
OKLCHoklch(24.34% 0.075 140.5)
XYZxyz(0.8573, 1.5670, 0.3147)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072802 #230228
analogous
#1A2802 #072802 #022810
triadic
#072802 #020728 #280207
tetradic
#072802 #021A28 #230228 #281002
square
#072802 #021A28 #230228 #281002
split-complementary
#072802 #100228 #28021A
monochromatic
#051D01 #051D01 #072802 #116205 #1B9D08

Accessibility & contrast

On white

15.99
#072802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#072802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072802
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072802#FFFFFF#000000##FFFFFF
##0728021.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252105
Tritanopia (blue-blind)
#032621
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #072802;
/* rgb */ color: rgb(7, 40, 2);
/* oklch */ color: oklch(24.3% 0.075 140.5);
Tailwind
colors: {
  custom: {
    50: '#4b6247',
    500: '#072802',
    950: '#000000',
  },
}
SCSS
$custom: #072802;
$custom-light: #4b6247;
$custom-dark: #000000;
JSON
{
  "hex": "#072802",
  "rgb": {
    "r": 7,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 112.105,
    "s": 90.476,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24335,
    "c": 0.07474,
    "h": 140.5
  },
  "luminance": 0.01567
}

Semantic roles & 50–950 ramp

primary
#072802
secondary
#62196D
accent
#29FFE3
background
#F4F5F4
surface
#E7EAE6
border
#C3C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #072802

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

Preview Lab → · Contrast checker → · Palette generator →

#072802 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva