#072F12#072F12

#072F12 is a dark, moderate green. Relative luminance 0.021; OKLCH L 27.0% C 0.068 H 148.6°. Best body text is #FFFFFF at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#072F12
RGBrgb(7, 47, 18)
HSLhsl(137, 74%, 11%)
HSVhsv(137, 85%, 18%)
CMYKcmyk(85.1%, 0%, 61.7%, 81.6%)
CIE-LABlab(16.11, -21.57, 14.66)
CIE-LCHlch(16.11, 26.08, 145.80°)
OKLaboklab(26.96% -0.0581 0.0355)
OKLCHoklch(26.96% 0.068 148.6)
XYZxyz(1.2132, 2.1217, 0.9177)
Luminance0.0212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072F12 #2F0724
analogous
#102F07 #072F12 #072F26
triadic
#072F12 #12072F #2F1207
tetradic
#072F12 #07102F #2F0724 #2F2607
square
#072F12 #07102F #2F0724 #2F2607
split-complementary
#072F12 #26072F #2F0710
monochromatic
#041B0A #041B0A #072F12 #0F6426 #179A3B

Accessibility & contrast

On white

14.74
#072F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #072F12
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072F12#FFFFFF#000000##FFFFFF
##072F121.0014.741.4214.74
#FFFFFF14.741.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A10
Deuteranopia (green-blind)
#2B2714
Tritanopia (blue-blind)
#002E28
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #072f12;
/* rgb */ color: rgb(7, 47, 18);
/* oklch */ color: oklch(27.0% 0.068 148.6);
Tailwind
colors: {
  custom: {
    50: '#4d6850',
    500: '#072f12',
    950: '#000000',
  },
}
SCSS
$custom: #072f12;
$custom-light: #4d6850;
$custom-dark: #000000;
JSON
{
  "hex": "#072f12",
  "rgb": {
    "r": 7,
    "g": 47,
    "b": 18
  },
  "hsl": {
    "h": 136.5,
    "s": 74.074,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2696,
    "c": 0.06805,
    "h": 148.6
  },
  "luminance": 0.02122
}

Semantic roles & 50–950 ramp

primary
#072F12
secondary
#6F235A
accent
#37BEF1
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #072F12

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

Preview Lab → · Contrast checker → · Palette generator →

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