#237A40#237A40

#237A40 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.122 H 150.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#237A40
RGBrgb(35, 122, 64)
HSLhsl(140, 55%, 31%)
HSVhsv(140, 71%, 48%)
CMYKcmyk(71.3%, 0%, 47.5%, 52.2%)
CIE-LABlab(45.14, -39.28, 24.46)
CIE-LCHlch(45.14, 46.27, 148.10°)
OKLaboklab(51.38% -0.1058 0.06)
OKLCHoklch(51.38% 0.122 150.5)
XYZxyz(8.5774, 14.6456, 7.2243)
Luminance0.1465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237A40 #7A235D
analogous
#317A23 #237A40 #237A6B
triadic
#237A40 #40237A #7A4023
tetradic
#237A40 #23317A #7A235D #7A6B23
square
#237A40 #23317A #7A235D #7A6B23
split-complementary
#237A40 #6B237A #7A2331
monochromatic
#081B0E #154A27 #237A40 #31AA59 #4CCC76

Accessibility & contrast

On white

5.34
#237A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#237A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237A40
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237A40#FFFFFF#000000##FFFFFF
##237A401.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F3C
Deuteranopia (green-blind)
#706844
Tritanopia (blue-blind)
#00786C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #237a40;
/* rgb */ color: rgb(35, 122, 64);
/* oklch */ color: oklch(51.4% 0.122 150.5);
Tailwind
colors: {
  custom: {
    50: '#6aa176',
    500: '#237a40',
    950: '#000000',
  },
}
SCSS
$custom: #237a40;
$custom-light: #6aa176;
$custom-dark: #000000;
JSON
{
  "hex": "#237a40",
  "rgb": {
    "r": 35,
    "g": 122,
    "b": 64
  },
  "hsl": {
    "h": 140,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51381,
    "c": 0.12165,
    "h": 150.5
  },
  "luminance": 0.14647
}

Semantic roles & 50–950 ramp

primary
#237A40
secondary
#AD4C8C
accent
#49ADDF
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #237A40

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

Preview Lab → · Contrast checker → · Palette generator →

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