#072F0B#072F0B

#072F0B is a dark, moderate green. Relative luminance 0.021; OKLCH L 26.8% C 0.075 H 144.6°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#072F0B
RGBrgb(7, 47, 11)
HSLhsl(126, 74%, 11%)
HSVhsv(126, 85%, 18%)
CMYKcmyk(85.1%, 0%, 76.6%, 81.6%)
CIE-LABlab(16.01, -22.73, 18.16)
CIE-LCHlch(16.01, 29.09, 141.38°)
OKLaboklab(26.85% -0.0615 0.0436)
OKLCHoklch(26.85% 0.075 144.6)
XYZxyz(1.1645, 2.1022, 0.6609)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F0B #2F072B
analogous
#172F07 #072F0B #072F1F
triadic
#072F0B #0B072F #2F0B07
tetradic
#072F0B #07172F #2F072B #2F1F07
square
#072F0B #07172F #2F072B #2F1F07
split-complementary
#072F0B #1F072F #2F0717
monochromatic
#041B06 #041B06 #072F0B #0F6417 #179A24

Accessibility & contrast

On white

14.78
#072F0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#072F0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072F0B
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072F0B#FFFFFF#000000##FFFFFF
##072F0B1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A07
Deuteranopia (green-blind)
#2B270E
Tritanopia (blue-blind)
#002E27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072f0b;
/* rgb */ color: rgb(7, 47, 11);
/* oklch */ color: oklch(26.8% 0.075 144.6);
Tailwind
colors: {
  custom: {
    50: '#4d684c',
    500: '#072f0b',
    950: '#000000',
  },
}
SCSS
$custom: #072f0b;
$custom-light: #4d684c;
$custom-dark: #000000;
JSON
{
  "hex": "#072f0b",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 11
  },
  "hsl": {
    "h": 126,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26846,
    "c": 0.07537,
    "h": 144.6
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#072F0B
secondary
#6F2367
accent
#37DEF1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #072F0B

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

Preview Lab → · Contrast checker → · Palette generator →

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