#237D40#237D40

#237D40 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.126 H 150.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#237D40
RGBrgb(35, 125, 64)
HSLhsl(139, 56%, 31%)
HSVhsv(139, 72%, 49%)
CMYKcmyk(72%, 0%, 48.8%, 51%)
CIE-LABlab(46.17, -40.48, 25.76)
CIE-LCHlch(46.17, 47.98, 147.53°)
OKLaboklab(52.23% -0.109 0.063)
OKLCHoklch(52.23% 0.126 150)
XYZxyz(8.9514, 15.3937, 7.3490)
Luminance0.1540 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237D40 #7D2360
analogous
#337D23 #237D40 #237D6D
triadic
#237D40 #40237D #7D4023
tetradic
#237D40 #23337D #7D2360 #7D6D23
square
#237D40 #23337D #7D2360 #7D6D23
split-complementary
#237D40 #6D237D #7D2333
monochromatic
#081D0F #164D28 #237D40 #30AD58 #4DCD76

Accessibility & contrast

On white

5.15
#237D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#237D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237D40
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237D40#FFFFFF#000000##FFFFFF
##237D401.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723B
Deuteranopia (green-blind)
#736A44
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #237d40;
/* rgb */ color: rgb(35, 125, 64);
/* oklch */ color: oklch(52.2% 0.126 150.0);
Tailwind
colors: {
  custom: {
    50: '#6ba376',
    500: '#237d40',
    950: '#000000',
  },
}
SCSS
$custom: #237d40;
$custom-light: #6ba376;
$custom-dark: #000000;
JSON
{
  "hex": "#237d40",
  "rgb": {
    "r": 35,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 139.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.1259,
    "h": 150
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #237D40

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

Preview Lab → · Contrast checker → · Palette generator →

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