#237A4A#237A4A

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

Color values

HEX#237A4A
RGBrgb(35, 122, 74)
HSLhsl(147, 55%, 31%)
HSVhsv(147, 71%, 48%)
CMYKcmyk(71.3%, 0%, 39.3%, 52.2%)
CIE-LABlab(45.32, -37.35, 19.05)
CIE-LCHlch(45.32, 41.93, 152.97°)
OKLaboklab(51.58% -0.101 0.0476)
OKLCHoklch(51.58% 0.112 154.7)
XYZxyz(8.8879, 14.7698, 8.8597)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A4A #7A2353
analogous
#277A23 #237A4A #237A75
triadic
#237A4A #4A237A #7A4A23
tetradic
#237A4A #23277A #7A2353 #7A7523
square
#237A4A #23277A #7A2353 #7A7523
split-complementary
#237A4A #75237A #7A2327
monochromatic
#081B10 #154A2D #237A4A #31AA67 #4CCC85

Accessibility & contrast

On white

5.31
#237A4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#237A4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A4A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A4A#FFFFFF#000000##FFFFFF
##237A4A1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7047
Deuteranopia (green-blind)
#6F684D
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237a4a;
/* rgb */ color: rgb(35, 122, 74);
/* oklch */ color: oklch(51.6% 0.112 154.7);
Tailwind
colors: {
  custom: {
    50: '#6aa17d',
    500: '#237a4a',
    950: '#000000',
  },
}
SCSS
$custom: #237a4a;
$custom-light: #6aa17d;
$custom-dark: #000000;
JSON
{
  "hex": "#237a4a",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 74
  },
  "hsl": {
    "h": 146.897,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51579,
    "c": 0.11164,
    "h": 154.7
  },
  "luminance": 0.14771
}

Semantic roles & 50–950 ramp

primary
#237A4A
secondary
#AD4C81
accent
#499CDF
background
#F6FAF7
surface
#ECF3EE
border
#C7CDC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #237A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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