#235A40#235A40

#235A40 is a dark, moderate teal. Relative luminance 0.080; OKLCH L 42.3% C 0.073 H 160.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#235A40
RGBrgb(35, 90, 64)
HSLhsl(152, 44%, 25%)
HSVhsv(152, 61%, 35%)
CMYKcmyk(61.1%, 0%, 28.9%, 64.7%)
CIE-LABlab(34.06, -25.08, 9.69)
CIE-LCHlch(34.06, 26.89, 158.87°)
OKLaboklab(42.28% -0.0688 0.0247)
OKLCHoklch(42.28% 0.073 160.3)
XYZxyz(5.2742, 8.0393, 6.1233)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#235A40 #5A233D
analogous
#235A24 #235A40 #23595A
triadic
#235A40 #40235A #5A4023
tetradic
#235A40 #24235A #5A233D #595A23
square
#235A40 #24235A #5A233D #595A23
split-complementary
#235A40 #5A2359 #5A2423
monochromatic
#091610 #122E21 #235A40 #34865F #45B27F

Accessibility & contrast

On white

8.05
#235A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#235A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #235A40
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##235A40#FFFFFF#000000##FFFFFF
##235A401.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59533F
Deuteranopia (green-blind)
#514E42
Tritanopia (blue-blind)
#0D5A53
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #235a40;
/* rgb */ color: rgb(35, 90, 64);
/* oklch */ color: oklch(42.3% 0.073 160.3);
Tailwind
colors: {
  custom: {
    50: '#648974',
    500: '#235a40',
    950: '#000000',
  },
}
SCSS
$custom: #235a40;
$custom-light: #648974;
$custom-dark: #000000;
JSON
{
  "hex": "#235a40",
  "rgb": {
    "r": 35,
    "g": 90,
    "b": 64
  },
  "hsl": {
    "h": 151.636,
    "s": 44,
    "l": 24.51
  },
  "oklch": {
    "l": 0.42279,
    "c": 0.07314,
    "h": 160.3
  },
  "luminance": 0.0804
}

Semantic roles & 50–950 ramp

primary
#235A40
secondary
#8E4B6B
accent
#5490D4
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060B08
muted
#7A7C7B

Preview Lab

Preview with #235A40

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

Preview Lab → · Contrast checker → · Palette generator →

#235A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva