#23794F#23794F

#23794F is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.4% C 0.105 H 157.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#23794F
RGBrgb(35, 121, 79)
HSLhsl(151, 55%, 31%)
HSVhsv(151, 71%, 47%)
CMYKcmyk(71.1%, 0%, 34.7%, 52.5%)
CIE-LABlab(45.08, -35.86, 15.85)
CIE-LCHlch(45.08, 39.21, 156.15°)
OKLaboklab(51.41% -0.0974 0.04)
OKLCHoklch(51.41% 0.105 157.7)
XYZxyz(8.9409, 14.5956, 9.7416)
Luminance0.1460 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23794F #79234D
analogous
#237924 #23794F #237879
triadic
#23794F #4F2379 #794F23
tetradic
#23794F #242379 #79234D #787923
square
#23794F #242379 #79234D #787923
split-complementary
#23794F #792378 #792423
monochromatic
#081A11 #154A30 #23794F #31A86E #4BCB8D

Accessibility & contrast

On white

5.36
#23794F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#23794F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23794F
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23794F#FFFFFF#000000##FFFFFF
##23794F1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4C
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #23794f;
/* rgb */ color: rgb(35, 121, 79);
/* oklch */ color: oklch(51.4% 0.105 157.7);
Tailwind
colors: {
  custom: {
    50: '#6aa080',
    500: '#23794f',
    950: '#000000',
  },
}
SCSS
$custom: #23794f;
$custom-light: #6aa080;
$custom-dark: #000000;
JSON
{
  "hex": "#23794f",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 79
  },
  "hsl": {
    "h": 150.698,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51412,
    "c": 0.10525,
    "h": 157.7
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#23794F
secondary
#AC4C7B
accent
#4992DE
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #23794F

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

Preview Lab → · Contrast checker → · Palette generator →

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