#074231#074231

#074231 is a dark, moderate teal. Relative luminance 0.042; OKLCH L 33.9% C 0.065 H 167.9°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#074231
RGBrgb(7, 66, 49)
HSLhsl(163, 81%, 14%)
HSVhsv(163, 89%, 26%)
CMYKcmyk(89.4%, 0%, 25.8%, 74.1%)
CIE-LABlab(24.20, -22.83, 5.29)
CIE-LCHlch(24.20, 23.44, 166.95°)
OKLaboklab(33.85% -0.0632 0.0135)
OKLCHoklch(33.85% 0.065 167.9)
XYZxyz(2.5899, 4.1630, 3.5722)
Luminance0.0416 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#074231 #420718
analogous
#074214 #074231 #073642
triadic
#074231 #310742 #423107
tetradic
#074231 #140742 #420718 #364207
square
#074231 #140742 #420718 #364207
split-complementary
#074231 #420736 #421407
monochromatic
#031C15 #031C15 #074231 #0D795A #13B183

Accessibility & contrast

On white

11.46
#074231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#074231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #074231
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##074231#FFFFFF#000000##FFFFFF
##0742311.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D30
Deuteranopia (green-blind)
#393732
Tritanopia (blue-blind)
#00423D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #074231;
/* rgb */ color: rgb(7, 66, 49);
/* oklch */ color: oklch(33.9% 0.065 167.9);
Tailwind
colors: {
  custom: {
    50: '#537769',
    500: '#074231',
    950: '#000000',
  },
}
SCSS
$custom: #074231;
$custom-light: #537769;
$custom-dark: #000000;
JSON
{
  "hex": "#074231",
  "rgb": {
    "r": 7,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 162.712,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.33854,
    "c": 0.06465,
    "h": 167.9
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#074231
secondary
#81243F
accent
#316AF7
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #074231

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

Preview Lab → · Contrast checker → · Palette generator →

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