#237B40#237B40

#237B40 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.123 H 150.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#237B40
RGBrgb(35, 123, 64)
HSLhsl(140, 56%, 31%)
HSVhsv(140, 72%, 48%)
CMYKcmyk(71.5%, 0%, 48%, 51.8%)
CIE-LABlab(45.49, -39.69, 24.89)
CIE-LCHlch(45.49, 46.85, 147.90°)
OKLaboklab(51.66% -0.1069 0.061)
OKLCHoklch(51.66% 0.123 150.3)
XYZxyz(8.7008, 14.8925, 7.2655)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237B40 #7B235E
analogous
#327B23 #237B40 #237B6C
triadic
#237B40 #40237B #7B4023
tetradic
#237B40 #23327B #7B235E #7B6C23
square
#237B40 #23327B #7B235E #7B6C23
split-complementary
#237B40 #6C237B #7B2332
monochromatic
#081C0E #154B27 #237B40 #31AB59 #4CCC76

Accessibility & contrast

On white

5.28
#237B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#237B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237B40
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237B40#FFFFFF#000000##FFFFFF
##237B401.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703B
Deuteranopia (green-blind)
#716944
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #237b40;
/* rgb */ color: rgb(35, 123, 64);
/* oklch */ color: oklch(51.7% 0.123 150.3);
Tailwind
colors: {
  custom: {
    50: '#6aa276',
    500: '#237b40',
    950: '#000000',
  },
}
SCSS
$custom: #237b40;
$custom-light: #6aa276;
$custom-dark: #000000;
JSON
{
  "hex": "#237b40",
  "rgb": {
    "r": 35,
    "g": 123,
    "b": 64
  },
  "hsl": {
    "h": 139.773,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51663,
    "c": 0.12307,
    "h": 150.3
  },
  "luminance": 0.14893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #237B40

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

Preview Lab → · Contrast checker → · Palette generator →

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