#237A5C#237A5C

#237A5C is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.0% C 0.095 H 165.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#237A5C
RGBrgb(35, 122, 92)
HSLhsl(159, 55%, 31%)
HSVhsv(159, 71%, 48%)
CMYKcmyk(71.3%, 0%, 24.6%, 52.2%)
CIE-LABlab(45.70, -33.23, 9.12)
CIE-LCHlch(45.70, 34.46, 164.66°)
OKLaboklab(52.02% -0.0918 0.0233)
OKLCHoklch(52.02% 0.095 165.8)
XYZxyz(9.5834, 15.0480, 12.5226)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A5C #7A2341
analogous
#237A30 #237A5C #236C7A
triadic
#237A5C #5C237A #7A5C23
tetradic
#237A5C #30237A #7A2341 #6C7A23
square
#237A5C #30237A #7A2341 #6C7A23
split-complementary
#237A5C #7A236C #7A3023
monochromatic
#081B14 #154A38 #237A5C #31AA80 #4CCCA0

Accessibility & contrast

On white

5.24
#237A5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#237A5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A5C
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A5C#FFFFFF#000000##FFFFFF
##237A5C1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715A
Deuteranopia (green-blind)
#6C695E
Tritanopia (blue-blind)
#007A72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237a5c;
/* rgb */ color: rgb(35, 122, 92);
/* oklch */ color: oklch(52.0% 0.095 165.8);
Tailwind
colors: {
  custom: {
    50: '#6aa18a',
    500: '#237a5c',
    950: '#000000',
  },
}
SCSS
$custom: #237a5c;
$custom-light: #6aa18a;
$custom-dark: #000000;
JSON
{
  "hex": "#237a5c",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 92
  },
  "hsl": {
    "h": 159.31,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5202,
    "c": 0.09472,
    "h": 165.8
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#237A5C
secondary
#AD4C6D
accent
#497DDF
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #237A5C

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

Preview Lab → · Contrast checker → · Palette generator →

#237A5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva