#072E12#072E12

#072E12 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.6% C 0.066 H 148.9°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#072E12
RGBrgb(7, 46, 18)
HSLhsl(137, 74%, 10%)
HSVhsv(137, 85%, 18%)
CMYKcmyk(84.8%, 0%, 60.9%, 82%)
CIE-LABlab(15.71, -21.11, 14.15)
CIE-LCHlch(15.71, 25.41, 146.17°)
OKLaboklab(26.63% -0.0568 0.0344)
OKLCHoklch(26.63% 0.066 148.9)
XYZxyz(1.1737, 2.0427, 0.9046)
Luminance0.0204 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#072E12 #2E0723
analogous
#0F2E07 #072E12 #072E25
triadic
#072E12 #12072E #2E1207
tetradic
#072E12 #070F2E #2E0723 #2E2507
square
#072E12 #070F2E #2E0723 #2E2507
split-complementary
#072E12 #25072E #2E070F
monochromatic
#041B0A #041B0A #072E12 #0F6327 #17983C

Accessibility & contrast

On white

14.91
#072E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#072E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #072E12
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##072E12#FFFFFF#000000##FFFFFF
##072E121.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2910
Deuteranopia (green-blind)
#2A2614
Tritanopia (blue-blind)
#002D27
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #072e12;
/* rgb */ color: rgb(7, 46, 18);
/* oklch */ color: oklch(26.6% 0.066 148.9);
Tailwind
colors: {
  custom: {
    50: '#4d6750',
    500: '#072e12',
    950: '#000000',
  },
}
SCSS
$custom: #072e12;
$custom-light: #4d6750;
$custom-dark: #000000;
JSON
{
  "hex": "#072e12",
  "rgb": {
    "r": 7,
    "g": 46,
    "b": 18
  },
  "hsl": {
    "h": 136.923,
    "s": 73.585,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26626,
    "c": 0.06641,
    "h": 148.9
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#072E12
secondary
#6E2359
accent
#38BCF0
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #072E12

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

Preview Lab → · Contrast checker → · Palette generator →

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