#072F0A#072F0A

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

Color values

HEX#072F0A
RGBrgb(7, 47, 10)
HSLhsl(125, 74%, 11%)
HSVhsv(125, 85%, 18%)
CMYKcmyk(85.1%, 0%, 78.7%, 81.6%)
CIE-LABlab(16.00, -22.87, 18.56)
CIE-LCHlch(16.00, 29.45, 140.93°)
OKLaboklab(26.83% -0.0619 0.0446)
OKLCHoklch(26.83% 0.076 144.2)
XYZxyz(1.1588, 2.1000, 0.6314)
Luminance0.0210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F0A #2F072C
analogous
#182F07 #072F0A #072F1E
triadic
#072F0A #0A072F #2F0A07
tetradic
#072F0A #07182F #2F072C #2F1E07
square
#072F0A #07182F #2F072C #2F1E07
split-complementary
#072F0A #1E072F #2F0718
monochromatic
#041B06 #041B06 #072F0A #0F6415 #179A21

Accessibility & contrast

On white

14.79
#072F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072F0A
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072F0A#FFFFFF#000000##FFFFFF
##072F0A1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A06
Deuteranopia (green-blind)
#2B270D
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072f0a;
/* rgb */ color: rgb(7, 47, 10);
/* oklch */ color: oklch(26.8% 0.076 144.2);
Tailwind
colors: {
  custom: {
    50: '#4d684b',
    500: '#072f0a',
    950: '#000000',
  },
}
SCSS
$custom: #072f0a;
$custom-light: #4d684b;
$custom-dark: #000000;
JSON
{
  "hex": "#072f0a",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 10
  },
  "hsl": {
    "h": 124.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26833,
    "c": 0.0763,
    "h": 144.2
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#072F0A
secondary
#6F2369
accent
#37E3F1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #072F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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