#268171#268171

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

Color values

HEX#268171
RGBrgb(38, 129, 113)
HSLhsl(169, 54%, 33%)
HSVhsv(169, 71%, 51%)
CMYKcmyk(70.5%, 0%, 12.4%, 49.4%)
CIE-LABlab(48.64, -30.40, 0.98)
CIE-LCHlch(48.64, 30.42, 178.15°)
OKLaboklab(54.62% -0.0875 0.0021)
OKLCHoklch(54.62% 0.088 178.6)
XYZxyz(11.6288, 17.3035, 18.3466)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#268171 #812636
analogous
#268144 #268171 #266381
triadic
#268171 #712681 #817126
tetradic
#268171 #442681 #812636 #638126
square
#268171 #442681 #812636 #638126
split-complementary
#268171 #812663 #814426
monochromatic
#0A221E #185248 #268171 #34B09A #55CDB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##268171#FFFFFF#000000##FFFFFF
##2681711.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)
#747474

Design tokens & code

CSS
--color: #268171;
/* rgb */ color: rgb(38, 129, 113);
/* oklch */ color: oklch(54.6% 0.088 178.6);
Tailwind
colors: {
  custom: {
    50: '#6ea699',
    500: '#268171',
    950: '#000000',
  },
}
SCSS
$custom: #268171;
$custom-light: #6ea699;
$custom-dark: #000000;
JSON
{
  "hex": "#268171",
  "rgb": {
    "r": 38,
    "g": 129,
    "b": 113
  },
  "hsl": {
    "h": 169.451,
    "s": 54.491,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54624,
    "c": 0.08756,
    "h": 178.6
  },
  "luminance": 0.17305
}

Semantic roles & 50–950 ramp

primary
#268171
secondary
#B15162
accent
#4A64DE
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #268171

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

Preview Lab → · Contrast checker → · Palette generator →

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