#074012#074012

#074012 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.5% C 0.094 H 145.7°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#074012
RGBrgb(7, 64, 18)
HSLhsl(132, 80%, 14%)
HSVhsv(132, 89%, 25%)
CMYKcmyk(89.1%, 0%, 71.9%, 74.9%)
CIE-LABlab(22.85, -28.71, 22.59)
CIE-LCHlch(22.85, 36.53, 141.80°)
OKLaboklab(32.54% -0.0774 0.0527)
OKLCHoklch(32.54% 0.094 145.7)
XYZxyz(2.0301, 3.7554, 1.1900)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074012 #400735
analogous
#194007 #074012 #07402F
triadic
#074012 #120740 #401207
tetradic
#074012 #071940 #400735 #402F07
square
#074012 #071940 #400735 #402F07
split-complementary
#074012 #2F0740 #400719
monochromatic
#031C08 #031C08 #074012 #0D7722 #13AE31

Accessibility & contrast

On white

11.99
#074012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#074012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074012
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074012#FFFFFF#000000##FFFFFF
##0740121.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #074012;
/* rgb */ color: rgb(7, 64, 18);
/* oklch */ color: oklch(32.5% 0.094 145.7);
Tailwind
colors: {
  custom: {
    50: '#537552',
    500: '#074012',
    950: '#000000',
  },
}
SCSS
$custom: #074012;
$custom-light: #537552;
$custom-dark: #000000;
JSON
{
  "hex": "#074012",
  "rgb": {
    "r": 7,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 131.579,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32539,
    "c": 0.09363,
    "h": 145.7
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#074012
secondary
#7F246D
accent
#31D1F7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #074012

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

Preview Lab → · Contrast checker → · Palette generator →

#074012 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva