#258171#258171

#258171 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.6% C 0.088 H 178.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#258171
RGBrgb(37, 129, 113)
HSLhsl(170, 55%, 33%)
HSVhsv(170, 71%, 51%)
CMYKcmyk(71.3%, 0%, 12.4%, 49.4%)
CIE-LABlab(48.62, -30.56, 0.95)
CIE-LCHlch(48.62, 30.58, 178.23°)
OKLaboklab(54.6% -0.088 0.002)
OKLCHoklch(54.6% 0.088 178.7)
XYZxyz(11.5924, 17.2848, 18.3449)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#258171 #812535
analogous
#258143 #258171 #256381
triadic
#258171 #712581 #817125
tetradic
#258171 #432581 #812535 #638125
square
#258171 #432581 #812535 #638125
split-complementary
#258171 #812563 #814325
monochromatic
#0A221E #175147 #258171 #33B19B #53CEB8

Accessibility & contrast

On white

4.71
#258171 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#258171 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #258171
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##258171#FFFFFF#000000##FFFFFF
##2581711.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7970
Deuteranopia (green-blind)
#6F7072
Tritanopia (blue-blind)
#00837C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #258171;
/* rgb */ color: rgb(37, 129, 113);
/* oklch */ color: oklch(54.6% 0.088 178.7);
Tailwind
colors: {
  custom: {
    50: '#6da699',
    500: '#258171',
    950: '#000000',
  },
}
SCSS
$custom: #258171;
$custom-light: #6da699;
$custom-dark: #000000;
JSON
{
  "hex": "#258171",
  "rgb": {
    "r": 37,
    "g": 129,
    "b": 113
  },
  "hsl": {
    "h": 169.565,
    "s": 55.422,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54598,
    "c": 0.08801,
    "h": 178.7
  },
  "luminance": 0.17286
}

Semantic roles & 50–950 ramp

primary
#258171
secondary
#B25061
accent
#4963DF
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #258171

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

Preview Lab → · Contrast checker → · Palette generator →

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