#074218#074218

#074218 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.091 H 147.8°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#074218
RGBrgb(7, 66, 24)
HSLhsl(137, 81%, 14%)
HSVhsv(137, 89%, 26%)
CMYKcmyk(89.4%, 0%, 63.6%, 74.1%)
CIE-LABlab(23.70, -28.60, 20.27)
CIE-LCHlch(23.70, 35.05, 144.67°)
OKLaboklab(33.27% -0.0768 0.0483)
OKLCHoklch(33.27% 0.091 147.8)
XYZxyz(2.2005, 4.0073, 1.5215)
Luminance0.0401 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074218 #420731
analogous
#144207 #074218 #074236
triadic
#074218 #180742 #421807
tetradic
#074218 #071442 #420731 #423607
square
#074218 #071442 #420731 #423607
split-complementary
#074218 #360742 #420714
monochromatic
#031C0A #031C0A #074218 #0D792C #13B140

Accessibility & contrast

On white

11.66
#074218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #074218
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074218#FFFFFF#000000##FFFFFF
##0742181.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#3C371B
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #074218;
/* rgb */ color: rgb(7, 66, 24);
/* oklch */ color: oklch(33.3% 0.091 147.8);
Tailwind
colors: {
  custom: {
    50: '#537756',
    500: '#074218',
    950: '#000000',
  },
}
SCSS
$custom: #074218;
$custom-light: #537756;
$custom-dark: #000000;
JSON
{
  "hex": "#074218",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 24
  },
  "hsl": {
    "h": 137.288,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.09076,
    "h": 147.8
  },
  "luminance": 0.04008
}

Semantic roles & 50–950 ramp

primary
#074218
secondary
#812466
accent
#31BEF7
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #074218

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

Preview Lab → · Contrast checker → · Palette generator →

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