#074104#074104

#074104 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.105 H 142.1°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#074104
RGBrgb(7, 65, 4)
HSLhsl(117, 88%, 14%)
HSVhsv(117, 94%, 25%)
CMYKcmyk(89.2%, 0%, 93.8%, 74.5%)
CIE-LABlab(23.12, -30.57, 29.13)
CIE-LCHlch(23.12, 42.23, 136.38°)
OKLaboklab(32.73% -0.0832 0.0647)
OKLCHoklch(32.73% 0.105 142.1)
XYZxyz(1.9997, 3.8343, 0.7495)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074104 #3E0441
analogous
#254104 #074104 #04411F
triadic
#074104 #040741 #410407
tetradic
#074104 #042541 #3E0441 #411F04
square
#074104 #042541 #3E0441 #411F04
split-complementary
#074104 #1F0441 #410425
monochromatic
#031D02 #031D02 #074104 #0D7B08 #13B40B

Accessibility & contrast

On white

11.88
#074104 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#074104 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074104
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074104#FFFFFF#000000##FFFFFF
##0741041.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#3D350B
Tritanopia (blue-blind)
#003F36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #074104;
/* rgb */ color: rgb(7, 65, 4);
/* oklch */ color: oklch(32.7% 0.105 142.1);
Tailwind
colors: {
  custom: {
    50: '#54764a',
    500: '#074104',
    950: '#000000',
  },
}
SCSS
$custom: #074104;
$custom-light: #54764a;
$custom-dark: #000000;
JSON
{
  "hex": "#074104",
  "rgb": {
    "r": 7,
    "g": 65,
    "b": 4
  },
  "hsl": {
    "h": 117.049,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32726,
    "c": 0.10536,
    "h": 142.1
  },
  "luminance": 0.03835
}

Semantic roles & 50–950 ramp

primary
#074104
secondary
#7D1F82
accent
#29FFF4
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030801
muted
#787B77

Preview Lab

Preview with #074104

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

Preview Lab → · Contrast checker → · Palette generator →

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