#074E1F#074E1F

#074E1F is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.101 H 148.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#074E1F
RGBrgb(7, 78, 31)
HSLhsl(140, 84%, 17%)
HSVhsv(140, 91%, 31%)
CMYKcmyk(91%, 0%, 60.3%, 69.4%)
CIE-LABlab(28.36, -32.16, 21.89)
CIE-LCHlch(28.36, 38.91, 145.76°)
OKLaboklab(37.17% -0.0863 0.0524)
OKLCHoklch(37.17% 0.101 148.7)
XYZxyz(3.0591, 5.5925, 2.2143)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074E1F #4E0736
analogous
#134E07 #074E1F #074E43
triadic
#074E1F #1F074E #4E1F07
tetradic
#074E1F #07134E #4E0736 #4E4307
square
#074E1F #07134E #4E0736 #4E4307
split-complementary
#074E1F #43074E #4E0713
monochromatic
#031C0B #031C0B #074E1F #0C8635 #11BE4C

Accessibility & contrast

On white

9.91
#074E1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#074E1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074E1F
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074E1F#FFFFFF#000000##FFFFFF
##074E1F1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461B
Deuteranopia (green-blind)
#474123
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #074e1f;
/* rgb */ color: rgb(7, 78, 31);
/* oklch */ color: oklch(37.2% 0.101 148.7);
Tailwind
colors: {
  custom: {
    50: '#57805c',
    500: '#074e1f',
    950: '#000000',
  },
}
SCSS
$custom: #074e1f;
$custom-light: #57805c;
$custom-dark: #000000;
JSON
{
  "hex": "#074e1f",
  "rgb": {
    "r": 7,
    "g": 78,
    "b": 31
  },
  "hsl": {
    "h": 140.282,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3717,
    "c": 0.10098,
    "h": 148.7
  },
  "luminance": 0.05593
}

Semantic roles & 50–950 ramp

primary
#074E1F
secondary
#8C2569
accent
#2EB5FA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #074E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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