#238271#238271

#238271 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.8% C 0.090 H 178.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#238271
RGBrgb(35, 130, 113)
HSLhsl(169, 58%, 32%)
HSVhsv(169, 73%, 51%)
CMYKcmyk(73.1%, 0%, 13.1%, 49%)
CIE-LABlab(48.90, -31.34, 1.35)
CIE-LCHlch(48.90, 31.37, 177.53°)
OKLaboklab(54.82% -0.09 0.0031)
OKLCHoklch(54.82% 0.09 178)
XYZxyz(11.6549, 17.5135, 18.3858)
Luminance0.1752 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238271 #822334
analogous
#238241 #238271 #236482
triadic
#238271 #712382 #827123
tetradic
#238271 #412382 #822334 #648223
square
#238271 #412382 #822334 #648223
split-complementary
#238271 #822364 #824123
monochromatic
#09221D #165247 #238271 #30B29B #50D0B9

Accessibility & contrast

On white

4.66
#238271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#238271 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #238271
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238271#FFFFFF#000000##FFFFFF
##2382711.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#707072
Tritanopia (blue-blind)
#00847D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #238271;
/* rgb */ color: rgb(35, 130, 113);
/* oklch */ color: oklch(54.8% 0.090 178.0);
Tailwind
colors: {
  custom: {
    50: '#6da799',
    500: '#238271',
    950: '#000000',
  },
}
SCSS
$custom: #238271;
$custom-light: #6da799;
$custom-dark: #000000;
JSON
{
  "hex": "#238271",
  "rgb": {
    "r": 35,
    "g": 130,
    "b": 113
  },
  "hsl": {
    "h": 169.263,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54817,
    "c": 0.09002,
    "h": 178
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#238271
secondary
#B34D60
accent
#4763E1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #238271

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

Preview Lab → · Contrast checker → · Palette generator →

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