#237C42#237C42

#237C42 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.122 H 150.9°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#237C42
RGBrgb(35, 124, 66)
HSLhsl(141, 56%, 31%)
HSVhsv(141, 72%, 49%)
CMYKcmyk(71.8%, 0%, 46.8%, 51.4%)
CIE-LABlab(45.86, -39.73, 24.26)
CIE-LCHlch(45.86, 46.55, 148.59°)
OKLaboklab(51.98% -0.107 0.0596)
OKLCHoklch(51.98% 0.123 150.9)
XYZxyz(8.8834, 15.1650, 7.6122)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237C42 #7C235D
analogous
#307C23 #237C42 #237C6E
triadic
#237C42 #42237C #7C4223
tetradic
#237C42 #23307C #7C235D #7C6E23
square
#237C42 #23307C #7C235D #7C6E23
split-complementary
#237C42 #6E237C #7C2330
monochromatic
#081D0F #164C29 #237C42 #30AC5B #4DCD79

Accessibility & contrast

On white

5.21
#237C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#237C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237C42
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237C42#FFFFFF#000000##FFFFFF
##237C421.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713E
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237c42;
/* rgb */ color: rgb(35, 124, 66);
/* oklch */ color: oklch(52.0% 0.122 150.9);
Tailwind
colors: {
  custom: {
    50: '#6ba377',
    500: '#237c42',
    950: '#000000',
  },
}
SCSS
$custom: #237c42;
$custom-light: #6ba377;
$custom-dark: #000000;
JSON
{
  "hex": "#237c42",
  "rgb": {
    "r": 35,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 140.899,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51981,
    "c": 0.1225,
    "h": 150.9
  },
  "luminance": 0.15166
}

Semantic roles & 50–950 ramp

primary
#237C42
secondary
#AF4C8C
accent
#49ABDF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #237C42

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

Preview Lab → · Contrast checker → · Palette generator →

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