#074015#074015

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

Color values

HEX#074015
RGBrgb(7, 64, 21)
HSLhsl(135, 80%, 14%)
HSVhsv(135, 89%, 25%)
CMYKcmyk(89.1%, 0%, 67.2%, 74.9%)
CIE-LABlab(22.88, -28.27, 21.00)
CIE-LCHlch(22.88, 35.22, 143.39°)
OKLaboklab(32.58% -0.0761 0.0497)
OKLCHoklch(32.58% 0.091 146.9)
XYZxyz(2.0562, 3.7659, 1.3278)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074015 #400732
analogous
#164007 #074015 #074032
triadic
#074015 #150740 #401507
tetradic
#074015 #071640 #400732 #403207
square
#074015 #071640 #400732 #403207
split-complementary
#074015 #320740 #400716
monochromatic
#031C09 #031C09 #074015 #0D7727 #13AE39

Accessibility & contrast

On white

11.98
#074015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#074015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074015
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074015#FFFFFF#000000##FFFFFF
##0740151.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #074015;
/* rgb */ color: rgb(7, 64, 21);
/* oklch */ color: oklch(32.6% 0.091 146.9);
Tailwind
colors: {
  custom: {
    50: '#537554',
    500: '#074015',
    950: '#000000',
  },
}
SCSS
$custom: #074015;
$custom-light: #537554;
$custom-dark: #000000;
JSON
{
  "hex": "#074015",
  "rgb": {
    "r": 7,
    "g": 64,
    "b": 21
  },
  "hsl": {
    "h": 134.737,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32581,
    "c": 0.09082,
    "h": 146.9
  },
  "luminance": 0.03766
}

Semantic roles & 50–950 ramp

primary
#074015
secondary
#7F2469
accent
#31C6F7
background
#F5F7F4
surface
#E8EDE7
border
#C4C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #074015

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

Preview Lab → · Contrast checker → · Palette generator →

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