#23795F#23795F

#23795F is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.8% C 0.091 H 168.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#23795F
RGBrgb(35, 121, 95)
HSLhsl(162, 55%, 31%)
HSVhsv(162, 71%, 47%)
CMYKcmyk(71.1%, 0%, 21.5%, 52.5%)
CIE-LABlab(45.44, -32.01, 6.98)
CIE-LCHlch(45.44, 32.76, 167.70°)
OKLaboklab(51.83% -0.0892 0.0178)
OKLCHoklch(51.83% 0.091 168.7)
XYZxyz(9.5950, 14.8572, 13.1863)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23795F #79233D
analogous
#237934 #23795F #236879
triadic
#23795F #5F2379 #795F23
tetradic
#23795F #342379 #79233D #687923
square
#23795F #342379 #79233D #687923
split-complementary
#23795F #792368 #793423
monochromatic
#081A14 #154A3A #23795F #31A884 #4BCBA4

Accessibility & contrast

On white

5.29
#23795F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#23795F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23795F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23795F#FFFFFF#000000##FFFFFF
##23795F1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76715E
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #23795f;
/* rgb */ color: rgb(35, 121, 95);
/* oklch */ color: oklch(51.8% 0.091 168.7);
Tailwind
colors: {
  custom: {
    50: '#6aa08c',
    500: '#23795f',
    950: '#000000',
  },
}
SCSS
$custom: #23795f;
$custom-light: #6aa08c;
$custom-dark: #000000;
JSON
{
  "hex": "#23795f",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 95
  },
  "hsl": {
    "h": 161.86,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.09093,
    "h": 168.7
  },
  "luminance": 0.14858
}

Semantic roles & 50–950 ramp

primary
#23795F
secondary
#AC4C69
accent
#4976DE
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0C
muted
#7A7E7D

Preview Lab

Preview with #23795F

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

Preview Lab → · Contrast checker → · Palette generator →

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