#297751#297751

#297751 is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.1% C 0.098 H 158.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#297751
RGBrgb(41, 119, 81)
HSLhsl(151, 49%, 31%)
HSVhsv(151, 66%, 47%)
CMYKcmyk(65.5%, 0%, 31.9%, 53.3%)
CIE-LABlab(44.60, -33.35, 14.07)
CIE-LCHlch(44.60, 36.20, 157.13°)
OKLaboklab(51.08% -0.0909 0.0357)
OKLCHoklch(51.08% 0.098 158.6)
XYZxyz(8.9956, 14.2582, 10.0610)
Luminance0.1426 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#297751 #77294F
analogous
#29772A #297751 #297677
triadic
#297751 #512977 #775129
tetradic
#297751 #2A2977 #77294F #767729
square
#297751 #2A2977 #77294F #767729
split-complementary
#297751 #772976 #772A29
monochromatic
#0A1C13 #194932 #297751 #39A570 #56C58F

Accessibility & contrast

On white

5.45
#297751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#297751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #297751
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##297751#FFFFFF#000000##FFFFFF
##2977511.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E4F
Deuteranopia (green-blind)
#6B6653
Tritanopia (blue-blind)
#00766D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #297751;
/* rgb */ color: rgb(41, 119, 81);
/* oklch */ color: oklch(51.1% 0.098 158.6);
Tailwind
colors: {
  custom: {
    50: '#6c9f82',
    500: '#297751',
    950: '#000000',
  },
}
SCSS
$custom: #297751;
$custom-light: #6c9f82;
$custom-dark: #000000;
JSON
{
  "hex": "#297751",
  "rgb": {
    "r": 41,
    "g": 119,
    "b": 81
  },
  "hsl": {
    "h": 150.769,
    "s": 48.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.09767,
    "h": 158.6
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#297751
secondary
#A9537D
accent
#4F92D8
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #297751

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

Preview Lab → · Contrast checker → · Palette generator →

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