#072B04#072B04

#072B04 is a dark, moderate green. Relative luminance 0.018; OKLCH L 25.4% C 0.077 H 141.6°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#072B04
RGBrgb(7, 43, 4)
HSLhsl(115, 83%, 9%)
HSVhsv(115, 91%, 17%)
CMYKcmyk(83.7%, 0%, 90.7%, 83.1%)
CIE-LABlab(14.30, -22.01, 18.82)
CIE-LCHlch(14.30, 28.96, 139.46°)
OKLaboklab(25.4% -0.06 0.0475)
OKLCHoklch(25.4% 0.077 141.6)
XYZxyz(0.9734, 1.7816, 0.4074)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072B04 #28042B
analogous
#1B2B04 #072B04 #042B15
triadic
#072B04 #04072B #2B0407
tetradic
#072B04 #041B2B #28042B #2B1504
square
#072B04 #041B2B #28042B #2B1504
split-complementary
#072B04 #15042B #2B041B
monochromatic
#051C03 #051C03 #072B04 #106309 #199B0E

Accessibility & contrast

On white

15.48
#072B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#072B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072B04
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072B04#FFFFFF#000000##FFFFFF
##072B041.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#282307
Tritanopia (blue-blind)
#022923
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #072b04;
/* rgb */ color: rgb(7, 43, 4);
/* oklch */ color: oklch(25.4% 0.077 141.6);
Tailwind
colors: {
  custom: {
    50: '#4c6548',
    500: '#072b04',
    950: '#000000',
  },
}
SCSS
$custom: #072b04;
$custom-light: #4c6548;
$custom-dark: #000000;
JSON
{
  "hex": "#072b04",
  "rgb": {
    "r": 7,
    "g": 43,
    "b": 4
  },
  "hsl": {
    "h": 115.385,
    "s": 82.979,
    "l": 9.216
  },
  "oklch": {
    "l": 0.25395,
    "c": 0.07656,
    "h": 141.6
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#072B04
secondary
#681D6E
accent
#2EF9EA
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #072B04

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

Preview Lab → · Contrast checker → · Palette generator →

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