#074E2A#074E2A

#074E2A is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.090 H 154.3°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#074E2A
RGBrgb(7, 78, 42)
HSLhsl(150, 84%, 17%)
HSVhsv(150, 91%, 31%)
CMYKcmyk(91%, 0%, 46.2%, 69.4%)
CIE-LABlab(28.54, -30.03, 15.64)
CIE-LCHlch(28.54, 33.86, 152.49°)
OKLaboklab(37.38% -0.0807 0.0388)
OKLCHoklch(37.38% 0.09 154.3)
XYZxyz(3.2296, 5.6607, 3.1125)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074E2A #4E072B
analogous
#084E07 #074E2A #074E4E
triadic
#074E2A #2A074E #4E2A07
tetradic
#074E2A #07084E #4E072B #4E4E07
square
#074E2A #07084E #4E072B #4E4E07
split-complementary
#074E2A #4E074E #4E0708
monochromatic
#031C0F #031C0F #074E2A #0C8648 #11BE66

Accessibility & contrast

On white

9.85
#074E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#074E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074E2A
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074E2A#FFFFFF#000000##FFFFFF
##074E2A1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4727
Deuteranopia (green-blind)
#46412C
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #074e2a;
/* rgb */ color: rgb(7, 78, 42);
/* oklch */ color: oklch(37.4% 0.090 154.3);
Tailwind
colors: {
  custom: {
    50: '#568064',
    500: '#074e2a',
    950: '#000000',
  },
}
SCSS
$custom: #074e2a;
$custom-light: #568064;
$custom-dark: #000000;
JSON
{
  "hex": "#074e2a",
  "rgb": {
    "r": 7,
    "g": 78,
    "b": 42
  },
  "hsl": {
    "h": 149.577,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37378,
    "c": 0.08958,
    "h": 154.3
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#074E2A
secondary
#8C2559
accent
#2E95FA
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #074E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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