#074E12#074E12

#074E12 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.112 H 144.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#074E12
RGBrgb(7, 78, 18)
HSLhsl(129, 84%, 17%)
HSVhsv(129, 91%, 31%)
CMYKcmyk(91%, 0%, 76.9%, 69.4%)
CIE-LABlab(28.21, -33.96, 28.42)
CIE-LCHlch(28.21, 44.29, 140.07°)
OKLaboklab(37% -0.0916 0.0651)
OKLCHoklch(37% 0.112 144.6)
XYZxyz(2.9210, 5.5373, 1.4870)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074E12 #4E0743
analogous
#204E07 #074E12 #074E36
triadic
#074E12 #12074E #4E1207
tetradic
#074E12 #07204E #4E0743 #4E3607
square
#074E12 #07204E #4E0743 #4E3607
split-complementary
#074E12 #36074E #4E0720
monochromatic
#031C06 #031C06 #074E12 #0C861F #11BE2C

Accessibility & contrast

On white

9.96
#074E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#074E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074E12
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074E12#FFFFFF#000000##FFFFFF
##074E121.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504609
Deuteranopia (green-blind)
#484118
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #074e12;
/* rgb */ color: rgb(7, 78, 18);
/* oklch */ color: oklch(37.0% 0.112 144.6);
Tailwind
colors: {
  custom: {
    50: '#578054',
    500: '#074e12',
    950: '#000000',
  },
}
SCSS
$custom: #074e12;
$custom-light: #578054;
$custom-dark: #000000;
JSON
{
  "hex": "#074e12",
  "rgb": {
    "r": 7,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 129.296,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37001,
    "c": 0.11239,
    "h": 144.6
  },
  "luminance": 0.05538
}

Semantic roles & 50–950 ramp

primary
#074E12
secondary
#8C257C
accent
#2EDAFA
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A03
muted
#797C78

Preview Lab

Preview with #074E12

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

Preview Lab → · Contrast checker → · Palette generator →

#074E12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva