#072D08#072D08

#072D08 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.1% C 0.075 H 143.4°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#072D08
RGBrgb(7, 45, 8)
HSLhsl(122, 73%, 10%)
HSVhsv(122, 84%, 18%)
CMYKcmyk(84.4%, 0%, 82.2%, 82.4%)
CIE-LABlab(15.17, -22.28, 18.32)
CIE-LCHlch(15.17, 28.84, 140.58°)
OKLaboklab(26.13% -0.0604 0.0448)
OKLCHoklch(26.13% 0.075 143.4)
XYZxyz(1.0698, 1.9394, 0.5476)
Luminance0.0194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072D08 #2D072C
analogous
#192D07 #072D08 #072D1B
triadic
#072D08 #08072D #2D0807
tetradic
#072D08 #07192D #2D072C #2D1B07
square
#072D08 #07192D #2D072C #2D1B07
split-complementary
#072D08 #1B072D #2D0719
monochromatic
#041A05 #041A05 #072D08 #0F6211 #17971B

Accessibility & contrast

On white

15.13
#072D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#072D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072D08
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072D08#FFFFFF#000000##FFFFFF
##072D081.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2804
Deuteranopia (green-blind)
#2A250B
Tritanopia (blue-blind)
#012B25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #072d08;
/* rgb */ color: rgb(7, 45, 8);
/* oklch */ color: oklch(26.1% 0.075 143.4);
Tailwind
colors: {
  custom: {
    50: '#4d664a',
    500: '#072d08',
    950: '#000000',
  },
}
SCSS
$custom: #072d08;
$custom-light: #4d664a;
$custom-dark: #000000;
JSON
{
  "hex": "#072d08",
  "rgb": {
    "r": 7,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 121.579,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.26131,
    "c": 0.07523,
    "h": 143.4
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#072D08
secondary
#6D236B
accent
#38EBF0
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #072D08

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

Preview Lab → · Contrast checker → · Palette generator →

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