#237A4F#237A4F

#237A4F is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.107 H 157.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#237A4F
RGBrgb(35, 122, 79)
HSLhsl(150, 55%, 31%)
HSVhsv(150, 71%, 48%)
CMYKcmyk(71.3%, 0%, 35.2%, 52.2%)
CIE-LABlab(45.41, -36.29, 16.31)
CIE-LCHlch(45.41, 39.78, 155.80°)
OKLaboklab(51.69% -0.0984 0.0411)
OKLCHoklch(51.69% 0.107 157.3)
XYZxyz(9.0631, 14.8399, 9.7824)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A4F #7A234E
analogous
#237A23 #237A4F #23797A
triadic
#237A4F #4F237A #7A4F23
tetradic
#237A4F #23237A #7A234E #797A23
square
#237A4F #23237A #7A234E #797A23
split-complementary
#237A4F #7A2379 #7A2323
monochromatic
#081B11 #154A30 #237A4F #31AA6E #4CCC8C

Accessibility & contrast

On white

5.29
#237A4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#237A4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A4F
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A4F#FFFFFF#000000##FFFFFF
##237A4F1.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)
#79704C
Deuteranopia (green-blind)
#6E6852
Tritanopia (blue-blind)
#00796F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237a4f;
/* rgb */ color: rgb(35, 122, 79);
/* oklch */ color: oklch(51.7% 0.107 157.3);
Tailwind
colors: {
  custom: {
    50: '#6aa180',
    500: '#237a4f',
    950: '#000000',
  },
}
SCSS
$custom: #237a4f;
$custom-light: #6aa180;
$custom-dark: #000000;
JSON
{
  "hex": "#237a4f",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 79
  },
  "hsl": {
    "h": 150.345,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51691,
    "c": 0.10669,
    "h": 157.3
  },
  "luminance": 0.14841
}

Semantic roles & 50–950 ramp

primary
#237A4F
secondary
#AD4C7C
accent
#4993DF
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #237A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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