#072C08#072C08

#072C08 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.8% C 0.074 H 143.5°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#072C08
RGBrgb(7, 44, 8)
HSLhsl(122, 73%, 10%)
HSVhsv(122, 84%, 17%)
CMYKcmyk(84.1%, 0%, 81.8%, 82.7%)
CIE-LABlab(14.76, -21.85, 17.79)
CIE-LCHlch(14.76, 28.18, 140.85°)
OKLaboklab(25.79% -0.0592 0.0439)
OKLCHoklch(25.79% 0.074 143.5)
XYZxyz(1.0321, 1.8640, 0.5351)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072C08 #2C072B
analogous
#182C07 #072C08 #072C1B
triadic
#072C08 #08072C #2C0807
tetradic
#072C08 #07182C #2C072B #2C1B07
square
#072C08 #07182C #2C072B #2C1B07
split-complementary
#072C08 #1B072C #2C0718
monochromatic
#041A05 #041A05 #072C08 #0F6112 #18961B

Accessibility & contrast

On white

15.30
#072C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#072C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072C08
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072C08#FFFFFF#000000##FFFFFF
##072C081.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2704
Deuteranopia (green-blind)
#29240B
Tritanopia (blue-blind)
#012A25
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072c08;
/* rgb */ color: rgb(7, 44, 8);
/* oklch */ color: oklch(25.8% 0.074 143.5);
Tailwind
colors: {
  custom: {
    50: '#4c654a',
    500: '#072c08',
    950: '#000000',
  },
}
SCSS
$custom: #072c08;
$custom-light: #4c654a;
$custom-dark: #000000;
JSON
{
  "hex": "#072c08",
  "rgb": {
    "r": 7,
    "g": 44,
    "b": 8
  },
  "hsl": {
    "h": 121.622,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.25792,
    "c": 0.07372,
    "h": 143.5
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#072C08
secondary
#6C236A
accent
#39EAEF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #072C08

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

Preview Lab → · Contrast checker → · Palette generator →

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