#074022#074022

#074022 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.077 H 154.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#074022
RGBrgb(7, 64, 34)
HSLhsl(148, 80%, 14%)
HSVhsv(148, 89%, 25%)
CMYKcmyk(89.1%, 0%, 46.9%, 74.9%)
CIE-LABlab(23.09, -25.80, 13.47)
CIE-LCHlch(23.09, 29.10, 152.44°)
OKLaboklab(32.82% -0.0694 0.0334)
OKLCHoklch(32.82% 0.077 154.3)
XYZxyz(2.2095, 3.8272, 2.1353)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074022 #400725
analogous
#094007 #074022 #07403F
triadic
#074022 #220740 #402207
tetradic
#074022 #070940 #400725 #403F07
square
#074022 #070940 #400725 #403F07
split-complementary
#074022 #3F0740 #400709
monochromatic
#031C0F #031C0F #074022 #0D773F #13AE5D

Accessibility & contrast

On white

11.90
#074022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#074022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074022
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074022#FFFFFF#000000##FFFFFF
##0740221.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A20
Deuteranopia (green-blind)
#393524
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #074022;
/* rgb */ color: rgb(7, 64, 34);
/* oklch */ color: oklch(32.8% 0.077 154.3);
Tailwind
colors: {
  custom: {
    50: '#52755d',
    500: '#074022',
    950: '#000000',
  },
}
SCSS
$custom: #074022;
$custom-light: #52755d;
$custom-dark: #000000;
JSON
{
  "hex": "#074022",
  "rgb": {
    "r": 7,
    "g": 64,
    "b": 34
  },
  "hsl": {
    "h": 148.421,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32823,
    "c": 0.07707,
    "h": 154.3
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#074022
secondary
#7F2454
accent
#3199F7
background
#F4F7F5
surface
#E7EDE9
border
#C3C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #074022

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

Preview Lab → · Contrast checker → · Palette generator →

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