#237C40#237C40

#237C40 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.124 H 150.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#237C40
RGBrgb(35, 124, 64)
HSLhsl(140, 56%, 31%)
HSVhsv(140, 72%, 49%)
CMYKcmyk(71.8%, 0%, 48.4%, 51.4%)
CIE-LABlab(45.83, -40.09, 25.32)
CIE-LCHlch(45.83, 47.41, 147.72°)
OKLaboklab(51.94% -0.108 0.062)
OKLCHoklch(51.94% 0.124 150.1)
XYZxyz(8.8255, 15.1418, 7.3070)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237C40 #7C235F
analogous
#327C23 #237C40 #237C6C
triadic
#237C40 #40237C #7C4023
tetradic
#237C40 #23327C #7C235F #7C6C23
square
#237C40 #23327C #7C235F #7C6C23
split-complementary
#237C40 #6C237C #7C2332
monochromatic
#081D0F #164C27 #237C40 #30AC59 #4DCD76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237C40#FFFFFF#000000##FFFFFF
##237C401.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)
#7D713B
Deuteranopia (green-blind)
#726944
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237c40;
/* rgb */ color: rgb(35, 124, 64);
/* oklch */ color: oklch(51.9% 0.124 150.1);
Tailwind
colors: {
  custom: {
    50: '#6ba376',
    500: '#237c40',
    950: '#000000',
  },
}
SCSS
$custom: #237c40;
$custom-light: #6ba376;
$custom-dark: #000000;
JSON
{
  "hex": "#237c40",
  "rgb": {
    "r": 35,
    "g": 124,
    "b": 64
  },
  "hsl": {
    "h": 139.551,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51944,
    "c": 0.12449,
    "h": 150.1
  },
  "luminance": 0.15143
}

Semantic roles & 50–950 ramp

primary
#237C40
secondary
#AF4C8F
accent
#49AEDF
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237C40

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

Preview Lab → · Contrast checker → · Palette generator →

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