#074018#074018

#074018 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.088 H 148.2°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#074018
RGBrgb(7, 64, 24)
HSLhsl(138, 80%, 14%)
HSVhsv(138, 89%, 25%)
CMYKcmyk(89.1%, 0%, 62.5%, 74.9%)
CIE-LABlab(22.92, -27.79, 19.34)
CIE-LCHlch(22.92, 33.86, 145.16°)
OKLaboklab(32.63% -0.0746 0.0463)
OKLCHoklch(32.63% 0.088 148.2)
XYZxyz(2.0857, 3.7777, 1.4832)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074018 #40072F
analogous
#134007 #074018 #074035
triadic
#074018 #180740 #401807
tetradic
#074018 #071340 #40072F #403507
square
#074018 #071340 #40072F #403507
split-complementary
#074018 #350740 #400713
monochromatic
#031C0A #031C0A #074018 #0D772D #13AE41

Accessibility & contrast

On white

11.96
#074018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#074018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074018
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074018#FFFFFF#000000##FFFFFF
##0740181.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413914
Deuteranopia (green-blind)
#3A351B
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #074018;
/* rgb */ color: rgb(7, 64, 24);
/* oklch */ color: oklch(32.6% 0.088 148.2);
Tailwind
colors: {
  custom: {
    50: '#527556',
    500: '#074018',
    950: '#000000',
  },
}
SCSS
$custom: #074018;
$custom-light: #527556;
$custom-dark: #000000;
JSON
{
  "hex": "#074018",
  "rgb": {
    "r": 7,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 137.895,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32627,
    "c": 0.08784,
    "h": 148.2
  },
  "luminance": 0.03778
}

Semantic roles & 50–950 ramp

primary
#074018
secondary
#7F2464
accent
#31BCF7
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #074018

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

Preview Lab → · Contrast checker → · Palette generator →

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