#074017#074017

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

Color values

HEX#074017
RGBrgb(7, 64, 23)
HSLhsl(137, 80%, 14%)
HSVhsv(137, 89%, 25%)
CMYKcmyk(89.1%, 0%, 64.1%, 74.9%)
CIE-LABlab(22.91, -27.95, 19.90)
CIE-LCHlch(22.91, 34.32, 144.55°)
OKLaboklab(32.61% -0.0751 0.0474)
OKLCHoklch(32.61% 0.089 147.7)
XYZxyz(2.0755, 3.7736, 1.4294)
Luminance0.0377 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074017 #400730
analogous
#144007 #074017 #074034
triadic
#074017 #170740 #401707
tetradic
#074017 #071440 #400730 #403407
square
#074017 #071440 #400730 #403407
split-complementary
#074017 #340740 #400714
monochromatic
#031C0A #031C0A #074017 #0D772B #13AE3F

Accessibility & contrast

On white

11.97
#074017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #074017
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074017#FFFFFF#000000##FFFFFF
##0740171.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #074017;
/* rgb */ color: rgb(7, 64, 23);
/* oklch */ color: oklch(32.6% 0.089 147.7);
Tailwind
colors: {
  custom: {
    50: '#527555',
    500: '#074017',
    950: '#000000',
  },
}
SCSS
$custom: #074017;
$custom-light: #527555;
$custom-dark: #000000;
JSON
{
  "hex": "#074017",
  "rgb": {
    "r": 7,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 136.842,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.32611,
    "c": 0.08885,
    "h": 147.7
  },
  "luminance": 0.03774
}

Semantic roles & 50–950 ramp

primary
#074017
secondary
#7F2465
accent
#31BFF7
background
#F5F7F5
surface
#E8EDE9
border
#C4C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #074017

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

Preview Lab → · Contrast checker → · Palette generator →

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