#237240#237240

#237240 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.1% C 0.110 H 151.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#237240
RGBrgb(35, 114, 64)
HSLhsl(142, 53%, 29%)
HSVhsv(142, 69%, 45%)
CMYKcmyk(69.3%, 0%, 43.9%, 55.3%)
CIE-LABlab(42.40, -35.99, 20.92)
CIE-LCHlch(42.40, 41.63, 149.84°)
OKLaboklab(49.12% -0.0971 0.0518)
OKLCHoklch(49.12% 0.11 151.9)
XYZxyz(7.6352, 12.7613, 6.9103)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237240 #722355
analogous
#2E7223 #237240 #237268
triadic
#237240 #402372 #724023
tetradic
#237240 #232E72 #722355 #726823
square
#237240 #232E72 #722355 #726823
split-complementary
#237240 #682372 #72232E
monochromatic
#07170D #154326 #237240 #31A15A #48C777

Accessibility & contrast

On white

5.91
#237240 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#237240 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237240
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237240#FFFFFF#000000##FFFFFF
##2372401.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#686143
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #237240;
/* rgb */ color: rgb(35, 114, 64);
/* oklch */ color: oklch(49.1% 0.110 151.9);
Tailwind
colors: {
  custom: {
    50: '#689b75',
    500: '#237240',
    950: '#000000',
  },
}
SCSS
$custom: #237240;
$custom-light: #689b75;
$custom-dark: #000000;
JSON
{
  "hex": "#237240",
  "rgb": {
    "r": 35,
    "g": 114,
    "b": 64
  },
  "hsl": {
    "h": 142.025,
    "s": 53.02,
    "l": 29.216
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.11007,
    "h": 151.9
  },
  "luminance": 0.12762
}

Semantic roles & 50–950 ramp

primary
#237240
secondary
#A54C84
accent
#4BA7DC
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #237240

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

Preview Lab → · Contrast checker → · Palette generator →

#237240 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva