#237F40#237F40

#237F40 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.129 H 149.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#237F40
RGBrgb(35, 127, 64)
HSLhsl(139, 57%, 32%)
HSVhsv(139, 72%, 50%)
CMYKcmyk(72.4%, 0%, 49.6%, 50.2%)
CIE-LABlab(46.85, -41.27, 26.62)
CIE-LCHlch(46.85, 49.11, 147.18°)
OKLaboklab(52.79% -0.1111 0.0649)
OKLCHoklch(52.79% 0.129 149.7)
XYZxyz(9.2072, 15.9052, 7.4343)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237F40 #7F2362
analogous
#347F23 #237F40 #237F6E
triadic
#237F40 #40237F #7F4023
tetradic
#237F40 #23347F #7F2362 #7F6E23
square
#237F40 #23347F #7F2362 #7F6E23
split-complementary
#237F40 #6E237F #7F2334
monochromatic
#091F10 #164F28 #237F40 #30AF58 #4ECE77

Accessibility & contrast

On white

5.02
#237F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#237F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237F40
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237F40#FFFFFF#000000##FFFFFF
##237F401.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #237f40;
/* rgb */ color: rgb(35, 127, 64);
/* oklch */ color: oklch(52.8% 0.129 149.7);
Tailwind
colors: {
  custom: {
    50: '#6ba576',
    500: '#237f40',
    950: '#000000',
  },
}
SCSS
$custom: #237f40;
$custom-light: #6ba576;
$custom-dark: #000000;
JSON
{
  "hex": "#237f40",
  "rgb": {
    "r": 35,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 138.913,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52788,
    "c": 0.1287,
    "h": 149.7
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#237F40
secondary
#B14C92
accent
#48B0E0
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#080F08
muted
#7A7F7B

Preview Lab

Preview with #237F40

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

Preview Lab → · Contrast checker → · Palette generator →

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