#237A5F#237A5F

#237A5F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.1% C 0.092 H 168.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#237A5F
RGBrgb(35, 122, 95)
HSLhsl(161, 55%, 31%)
HSVhsv(161, 71%, 48%)
CMYKcmyk(71.3%, 0%, 22.1%, 52.2%)
CIE-LABlab(45.77, -32.47, 7.45)
CIE-LCHlch(45.77, 33.31, 167.07°)
OKLaboklab(52.1% -0.0903 0.0191)
OKLCHoklch(52.1% 0.092 168.1)
XYZxyz(9.7171, 15.1015, 13.2270)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A5F #7A233E
analogous
#237A33 #237A5F #23697A
triadic
#237A5F #5F237A #7A5F23
tetradic
#237A5F #33237A #7A233E #697A23
square
#237A5F #33237A #7A233E #697A23
split-complementary
#237A5F #7A2369 #7A3323
monochromatic
#081B15 #154A3A #237A5F #31AA84 #4CCCA4

Accessibility & contrast

On white

5.22
#237A5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#237A5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A5F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A5F#FFFFFF#000000##FFFFFF
##237A5F1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77715E
Deuteranopia (green-blind)
#6B6961
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237a5f;
/* rgb */ color: rgb(35, 122, 95);
/* oklch */ color: oklch(52.1% 0.092 168.1);
Tailwind
colors: {
  custom: {
    50: '#6aa18c',
    500: '#237a5f',
    950: '#000000',
  },
}
SCSS
$custom: #237a5f;
$custom-light: #6aa18c;
$custom-dark: #000000;
JSON
{
  "hex": "#237a5f",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 95
  },
  "hsl": {
    "h": 161.379,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.09226,
    "h": 168.1
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#237A5F
secondary
#AD4C6A
accent
#4978DF
background
#F6FAF8
surface
#ECF3F0
border
#C7CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #237A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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