#072F18#072F18

#072F18 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.1% C 0.061 H 153.6°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#072F18
RGBrgb(7, 47, 24)
HSLhsl(146, 74%, 11%)
HSVhsv(146, 85%, 18%)
CMYKcmyk(85.1%, 0%, 48.9%, 81.6%)
CIE-LABlab(16.23, -20.29, 10.92)
CIE-LCHlch(16.23, 23.04, 151.71°)
OKLaboklab(27.09% -0.0547 0.0271)
OKLCHoklch(27.09% 0.061 153.6)
XYZxyz(1.2689, 2.1440, 1.2109)
Luminance0.0214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F18 #2F071E
analogous
#0A2F07 #072F18 #072F2C
triadic
#072F18 #18072F #2F1807
tetradic
#072F18 #070A2F #2F071E #2F2C07
square
#072F18 #070A2F #2F071E #2F2C07
split-complementary
#072F18 #2C072F #2F070A
monochromatic
#041B0E #041B0E #072F18 #0F6433 #179A4E

Accessibility & contrast

On white

14.70
#072F18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#072F18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072F18
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072F18#FFFFFF#000000##FFFFFF
##072F181.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A16
Deuteranopia (green-blind)
#2A271A
Tritanopia (blue-blind)
#002E29
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072f18;
/* rgb */ color: rgb(7, 47, 24);
/* oklch */ color: oklch(27.1% 0.061 153.6);
Tailwind
colors: {
  custom: {
    50: '#4d6855',
    500: '#072f18',
    950: '#000000',
  },
}
SCSS
$custom: #072f18;
$custom-light: #4d6855;
$custom-dark: #000000;
JSON
{
  "hex": "#072f18",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 24
  },
  "hsl": {
    "h": 145.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27089,
    "c": 0.06109,
    "h": 153.6
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#072F18
secondary
#6F234F
accent
#37A2F1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020603
muted
#787A78

Preview Lab

Preview with #072F18

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

Preview Lab → · Contrast checker → · Palette generator →

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