#237E42#237E42

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

Color values

HEX#237E42
RGBrgb(35, 126, 66)
HSLhsl(140, 57%, 32%)
HSVhsv(140, 72%, 49%)
CMYKcmyk(72.2%, 0%, 47.6%, 50.6%)
CIE-LABlab(46.54, -40.53, 25.13)
CIE-LCHlch(46.54, 47.69, 148.19°)
OKLaboklab(52.54% -0.1091 0.0616)
OKLCHoklch(52.54% 0.125 150.6)
XYZxyz(9.1366, 15.6714, 7.6966)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237E42 #7E235F
analogous
#317E23 #237E42 #237E70
triadic
#237E42 #42237E #7E4223
tetradic
#237E42 #23317E #7E235F #7E7023
square
#237E42 #23317E #7E235F #7E7023
split-complementary
#237E42 #70237E #7E2331
monochromatic
#081E10 #164E29 #237E42 #30AE5B #4ECE79

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##237E42#FFFFFF#000000##FFFFFF
##237E421.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)
#7F733D
Deuteranopia (green-blind)
#746B46
Tritanopia (blue-blind)
#007C70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #237e42;
/* rgb */ color: rgb(35, 126, 66);
/* oklch */ color: oklch(52.5% 0.125 150.6);
Tailwind
colors: {
  custom: {
    50: '#6ba477',
    500: '#237e42',
    950: '#000000',
  },
}
SCSS
$custom: #237e42;
$custom-light: #6ba477;
$custom-dark: #000000;
JSON
{
  "hex": "#237e42",
  "rgb": {
    "r": 35,
    "g": 126,
    "b": 66
  },
  "hsl": {
    "h": 140.44,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.12533,
    "h": 150.6
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#237E42
secondary
#B04C8E
accent
#48ACE0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #237E42

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

Preview Lab → · Contrast checker → · Palette generator →

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