#074221#074221

#074221 is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.4% C 0.081 H 152.8°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#074221
RGBrgb(7, 66, 33)
HSLhsl(146, 81%, 14%)
HSVhsv(146, 89%, 26%)
CMYKcmyk(89.4%, 0%, 50%, 74.1%)
CIE-LABlab(23.84, -26.89, 15.06)
CIE-LCHlch(23.84, 30.82, 150.74°)
OKLaboklab(33.43% -0.0723 0.0371)
OKLCHoklch(33.43% 0.081 152.8)
XYZxyz(2.3101, 4.0511, 2.0987)
Luminance0.0405 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074221 #420728
analogous
#0A4207 #074221 #07423F
triadic
#074221 #210742 #422107
tetradic
#074221 #070A42 #420728 #423F07
square
#074221 #070A42 #420728 #423F07
split-complementary
#074221 #3F0742 #42070A
monochromatic
#031C0E #031C0E #074221 #0D793D #13B158

Accessibility & contrast

On white

11.60
#074221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#074221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074221
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074221#FFFFFF#000000##FFFFFF
##0742211.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423C1F
Deuteranopia (green-blind)
#3B3723
Tritanopia (blue-blind)
#00413A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #074221;
/* rgb */ color: rgb(7, 66, 33);
/* oklch */ color: oklch(33.4% 0.081 152.8);
Tailwind
colors: {
  custom: {
    50: '#53775c',
    500: '#074221',
    950: '#000000',
  },
}
SCSS
$custom: #074221;
$custom-light: #53775c;
$custom-dark: #000000;
JSON
{
  "hex": "#074221",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 33
  },
  "hsl": {
    "h": 146.441,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33435,
    "c": 0.08125,
    "h": 152.8
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#074221
secondary
#812458
accent
#31A0F7
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #074221

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

Preview Lab → · Contrast checker → · Palette generator →

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