#074216#074216

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

Color values

HEX#074216
RGBrgb(7, 66, 22)
HSLhsl(135, 81%, 14%)
HSVhsv(135, 89%, 26%)
CMYKcmyk(89.4%, 0%, 66.7%, 74.1%)
CIE-LABlab(23.67, -28.92, 21.36)
CIE-LCHlch(23.67, 35.95, 143.54°)
OKLaboklab(33.24% -0.0778 0.0505)
OKLCHoklch(33.24% 0.093 147)
XYZxyz(2.1805, 3.9993, 1.4159)
Luminance0.0400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074216 #420733
analogous
#164207 #074216 #074234
triadic
#074216 #160742 #421607
tetradic
#074216 #071642 #420733 #423407
square
#074216 #071642 #420733 #423407
split-complementary
#074216 #340742 #420716
monochromatic
#031C09 #031C09 #074216 #0D7928 #13B13B

Accessibility & contrast

On white

11.67
#074216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #074216
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074216#FFFFFF#000000##FFFFFF
##0742161.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #074216;
/* rgb */ color: rgb(7, 66, 22);
/* oklch */ color: oklch(33.2% 0.093 147.0);
Tailwind
colors: {
  custom: {
    50: '#537755',
    500: '#074216',
    950: '#000000',
  },
}
SCSS
$custom: #074216;
$custom-light: #537755;
$custom-dark: #000000;
JSON
{
  "hex": "#074216",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 22
  },
  "hsl": {
    "h": 135.254,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33238,
    "c": 0.09274,
    "h": 147
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#074216
secondary
#812469
accent
#31C5F7
background
#F5F7F4
surface
#E9EDE8
border
#C5C8C4
text
#030903
muted
#787B78

Preview Lab

Preview with #074216

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

Preview Lab → · Contrast checker → · Palette generator →

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