#074E38#074E38

#074E38 is a dark, moderate teal. Relative luminance 0.058; OKLCH L 37.7% C 0.075 H 165.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#074E38
RGBrgb(7, 78, 56)
HSLhsl(161, 84%, 17%)
HSVhsv(161, 91%, 31%)
CMYKcmyk(91%, 0%, 28.2%, 69.4%)
CIE-LABlab(28.85, -26.56, 7.31)
CIE-LCHlch(28.85, 27.55, 164.60°)
OKLaboklab(37.73% -0.073 0.0187)
OKLCHoklch(37.73% 0.075 165.7)
XYZxyz(3.5254, 5.7790, 4.6703)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074E38 #4E071D
analogous
#074E14 #074E38 #07414E
triadic
#074E38 #38074E #4E3807
tetradic
#074E38 #14074E #4E071D #414E07
square
#074E38 #14074E #4E071D #414E07
split-complementary
#074E38 #4E0741 #4E1407
monochromatic
#031C14 #031C14 #074E38 #0C8660 #11BE89

Accessibility & contrast

On white

9.74
#074E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#074E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074E38
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074E38#FFFFFF#000000##FFFFFF
##074E381.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4837
Deuteranopia (green-blind)
#444239
Tritanopia (blue-blind)
#004E48
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #074e38;
/* rgb */ color: rgb(7, 78, 56);
/* oklch */ color: oklch(37.7% 0.075 165.7);
Tailwind
colors: {
  custom: {
    50: '#56806e',
    500: '#074e38',
    950: '#000000',
  },
}
SCSS
$custom: #074e38;
$custom-light: #56806e;
$custom-dark: #000000;
JSON
{
  "hex": "#074e38",
  "rgb": {
    "r": 7,
    "g": 78,
    "b": 56
  },
  "hsl": {
    "h": 161.408,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.07537,
    "h": 165.7
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#074E38
secondary
#8C2545
accent
#2E6DFA
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A07
muted
#797C7A

Preview Lab

Preview with #074E38

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

Preview Lab → · Contrast checker → · Palette generator →

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