#074212#074212

#074212 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.096 H 145.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#074212
RGBrgb(7, 66, 18)
HSLhsl(131, 81%, 14%)
HSVhsv(131, 89%, 26%)
CMYKcmyk(89.4%, 0%, 72.7%, 74.1%)
CIE-LABlab(23.62, -29.49, 23.46)
CIE-LCHlch(23.62, 37.68, 141.50°)
OKLaboklab(33.18% -0.0795 0.0546)
OKLCHoklch(33.18% 0.096 145.5)
XYZxyz(2.1449, 3.9850, 1.2283)
Luminance0.0398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074212 #420737
analogous
#1A4207 #074212 #074230
triadic
#074212 #120742 #421207
tetradic
#074212 #071A42 #420737 #423007
square
#074212 #071A42 #420737 #423007
split-complementary
#074212 #300742 #42071A
monochromatic
#031C08 #031C08 #074212 #0D7921 #13B130

Accessibility & contrast

On white

11.69
#074212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#074212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074212
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074212#FFFFFF#000000##FFFFFF
##0742121.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0C
Deuteranopia (green-blind)
#3D3616
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #074212;
/* rgb */ color: rgb(7, 66, 18);
/* oklch */ color: oklch(33.2% 0.096 145.5);
Tailwind
colors: {
  custom: {
    50: '#537752',
    500: '#074212',
    950: '#000000',
  },
}
SCSS
$custom: #074212;
$custom-light: #537752;
$custom-dark: #000000;
JSON
{
  "hex": "#074212",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 18
  },
  "hsl": {
    "h": 131.186,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33184,
    "c": 0.09641,
    "h": 145.5
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#074212
secondary
#812470
accent
#31D2F7
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #074212

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

Preview Lab → · Contrast checker → · Palette generator →

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