#072C05#072C05

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

Color values

HEX#072C05
RGBrgb(7, 44, 5)
HSLhsl(117, 80%, 10%)
HSVhsv(117, 89%, 17%)
CMYKcmyk(84.1%, 0%, 88.6%, 82.7%)
CIE-LABlab(14.72, -22.29, 18.96)
CIE-LCHlch(14.72, 29.26, 139.60°)
OKLaboklab(25.75% -0.0607 0.0472)
OKLCHoklch(25.75% 0.077 142.1)
XYZxyz(1.0156, 1.8574, 0.4485)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072C05 #2A052C
analogous
#1B2C05 #072C05 #052C17
triadic
#072C05 #05072C #2C0507
tetradic
#072C05 #051B2C #2A052C #2C1705
square
#072C05 #051B2C #2A052C #2C1705
split-complementary
#072C05 #17052C #2C051B
monochromatic
#041B03 #041B03 #072C05 #10630B #189A11

Accessibility & contrast

On white

15.31
#072C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072C05
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072C05#FFFFFF#000000##FFFFFF
##072C051.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2701
Deuteranopia (green-blind)
#292408
Tritanopia (blue-blind)
#022A24
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #072c05;
/* rgb */ color: rgb(7, 44, 5);
/* oklch */ color: oklch(25.8% 0.077 142.1);
Tailwind
colors: {
  custom: {
    50: '#4c6649',
    500: '#072c05',
    950: '#000000',
  },
}
SCSS
$custom: #072c05;
$custom-light: #4c6649;
$custom-dark: #000000;
JSON
{
  "hex": "#072c05",
  "rgb": {
    "r": 7,
    "g": 44,
    "b": 5
  },
  "hsl": {
    "h": 116.923,
    "s": 79.592,
    "l": 9.608
  },
  "oklch": {
    "l": 0.2575,
    "c": 0.07688,
    "h": 142.1
  },
  "luminance": 0.01857
}

Semantic roles & 50–950 ramp

primary
#072C05
secondary
#6A1F6E
accent
#32F6EC
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010601
muted
#777A77

Preview Lab

Preview with #072C05

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

Preview Lab → · Contrast checker → · Palette generator →

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