#237E40#237E40

#237E40 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.127 H 149.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#237E40
RGBrgb(35, 126, 64)
HSLhsl(139, 57%, 32%)
HSVhsv(139, 72%, 49%)
CMYKcmyk(72.2%, 0%, 49.2%, 50.6%)
CIE-LABlab(46.51, -40.88, 26.19)
CIE-LCHlch(46.51, 48.55, 147.35°)
OKLaboklab(52.51% -0.1101 0.0639)
OKLCHoklch(52.51% 0.127 149.8)
XYZxyz(9.0787, 15.6482, 7.3914)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237E40 #7E2361
analogous
#347E23 #237E40 #237E6E
triadic
#237E40 #40237E #7E4023
tetradic
#237E40 #23347E #7E2361 #7E6E23
square
#237E40 #23347E #7E2361 #7E6E23
split-complementary
#237E40 #6E237E #7E2334
monochromatic
#081E0F #164E28 #237E40 #30AE58 #4ECE76

Accessibility & contrast

On white

5.08
#237E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#237E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237E40
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237E40#FFFFFF#000000##FFFFFF
##237E401.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F733B
Deuteranopia (green-blind)
#746B44
Tritanopia (blue-blind)
#007C6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237e40;
/* rgb */ color: rgb(35, 126, 64);
/* oklch */ color: oklch(52.5% 0.127 149.8);
Tailwind
colors: {
  custom: {
    50: '#6ba476',
    500: '#237e40',
    950: '#000000',
  },
}
SCSS
$custom: #237e40;
$custom-light: #6ba476;
$custom-dark: #000000;
JSON
{
  "hex": "#237e40",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 64
  },
  "hsl": {
    "h": 139.121,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52507,
    "c": 0.1273,
    "h": 149.8
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#237E40
secondary
#B04C91
accent
#48AFE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237E40

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

Preview Lab → · Contrast checker → · Palette generator →

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