#237A4C#237A4C

#237A4C is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.6% C 0.110 H 155.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#237A4C
RGBrgb(35, 122, 76)
HSLhsl(148, 55%, 31%)
HSVhsv(148, 71%, 48%)
CMYKcmyk(71.3%, 0%, 37.7%, 52.2%)
CIE-LABlab(45.36, -36.93, 17.96)
CIE-LCHlch(45.36, 41.07, 154.07°)
OKLaboklab(51.62% -0.1 0.0451)
OKLCHoklch(51.62% 0.11 155.7)
XYZxyz(8.9564, 14.7972, 9.2202)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A4C #7A2351
analogous
#257A23 #237A4C #237A77
triadic
#237A4C #4C237A #7A4C23
tetradic
#237A4C #23257A #7A2351 #7A7723
square
#237A4C #23257A #7A2351 #7A7723
split-complementary
#237A4C #77237A #7A2325
monochromatic
#081B11 #154A2E #237A4C #31AA6A #4CCC88

Accessibility & contrast

On white

5.30
#237A4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#237A4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A4C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A4C#FFFFFF#000000##FFFFFF
##237A4C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797049
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237a4c;
/* rgb */ color: rgb(35, 122, 76);
/* oklch */ color: oklch(51.6% 0.110 155.7);
Tailwind
colors: {
  custom: {
    50: '#6aa17e',
    500: '#237a4c',
    950: '#000000',
  },
}
SCSS
$custom: #237a4c;
$custom-light: #6aa17e;
$custom-dark: #000000;
JSON
{
  "hex": "#237a4c",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 148.276,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.10965,
    "h": 155.7
  },
  "luminance": 0.14798
}

Semantic roles & 50–950 ramp

primary
#237A4C
secondary
#AD4C7F
accent
#4998DF
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #237A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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