#23795B#23795B

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

Color values

HEX#23795B
RGBrgb(35, 121, 91)
HSLhsl(159, 55%, 31%)
HSVhsv(159, 71%, 47%)
CMYKcmyk(71.1%, 0%, 24.8%, 52.5%)
CIE-LABlab(45.34, -33.03, 9.20)
CIE-LCHlch(45.34, 34.28, 164.43°)
OKLaboklab(51.72% -0.0912 0.0235)
OKLCHoklch(51.72% 0.094 165.5)
XYZxyz(9.4178, 14.7863, 12.2532)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23795B #792341
analogous
#237930 #23795B #236C79
triadic
#23795B #5B2379 #795B23
tetradic
#23795B #302379 #792341 #6C7923
square
#23795B #302379 #792341 #6C7923
split-complementary
#23795B #79236C #793023
monochromatic
#081A14 #154A37 #23795B #31A87F #4BCB9E

Accessibility & contrast

On white

5.31
#23795B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #23795B
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23795B#FFFFFF#000000##FFFFFF
##23795B1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767059
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #23795b;
/* rgb */ color: rgb(35, 121, 91);
/* oklch */ color: oklch(51.7% 0.094 165.5);
Tailwind
colors: {
  custom: {
    50: '#6aa089',
    500: '#23795b',
    950: '#000000',
  },
}
SCSS
$custom: #23795b;
$custom-light: #6aa089;
$custom-dark: #000000;
JSON
{
  "hex": "#23795b",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 91
  },
  "hsl": {
    "h": 159.07,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51717,
    "c": 0.09419,
    "h": 165.5
  },
  "luminance": 0.14787
}

Semantic roles & 50–950 ramp

primary
#23795B
secondary
#AC4C6D
accent
#497DDE
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #23795B

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

Preview Lab → · Contrast checker → · Palette generator →

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