#23795C#23795C

#23795C is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.093 H 166.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#23795C
RGBrgb(35, 121, 92)
HSLhsl(160, 55%, 31%)
HSVhsv(160, 71%, 47%)
CMYKcmyk(71.1%, 0%, 24%, 52.5%)
CIE-LABlab(45.36, -32.78, 8.64)
CIE-LCHlch(45.36, 33.90, 165.23°)
OKLaboklab(51.75% -0.0907 0.0221)
OKLCHoklch(51.75% 0.093 166.3)
XYZxyz(9.4612, 14.8037, 12.4819)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23795C #792340
analogous
#237931 #23795C #236B79
triadic
#23795C #5C2379 #795C23
tetradic
#23795C #312379 #792340 #6B7923
square
#23795C #312379 #792340 #6B7923
split-complementary
#23795C #79236B #793123
monochromatic
#081A14 #154A38 #23795C #31A880 #4BCBA0

Accessibility & contrast

On white

5.30
#23795C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#23795C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23795C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23795C#FFFFFF#000000##FFFFFF
##23795C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705A
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #23795c;
/* rgb */ color: rgb(35, 121, 92);
/* oklch */ color: oklch(51.7% 0.093 166.3);
Tailwind
colors: {
  custom: {
    50: '#6aa08a',
    500: '#23795c',
    950: '#000000',
  },
}
SCSS
$custom: #23795c;
$custom-light: #6aa08a;
$custom-dark: #000000;
JSON
{
  "hex": "#23795c",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 92
  },
  "hsl": {
    "h": 159.767,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.09336,
    "h": 166.3
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#23795C
secondary
#AC4C6C
accent
#497CDE
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #23795C

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

Preview Lab → · Contrast checker → · Palette generator →

#23795C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva