#237940#237940

#237940 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.120 H 150.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#237940
RGBrgb(35, 121, 64)
HSLhsl(140, 55%, 31%)
HSVhsv(140, 71%, 47%)
CMYKcmyk(71.1%, 0%, 47.1%, 52.5%)
CIE-LABlab(44.80, -38.88, 24.02)
CIE-LCHlch(44.80, 45.70, 148.29°)
OKLaboklab(51.1% -0.1048 0.059)
OKLCHoklch(51.1% 0.12 150.6)
XYZxyz(8.4552, 14.4013, 7.1836)
Luminance0.1440 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#237940 #79235C
analogous
#317923 #237940 #23796B
triadic
#237940 #402379 #794023
tetradic
#237940 #233179 #79235C #796B23
square
#237940 #233179 #79235C #796B23
split-complementary
#237940 #6B2379 #792331
monochromatic
#081A0E #154A27 #237940 #31A859 #4BCB76

Accessibility & contrast

On white

5.41
#237940 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#237940 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #237940
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##237940#FFFFFF#000000##FFFFFF
##2379401.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6E3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#00776B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #237940;
/* rgb */ color: rgb(35, 121, 64);
/* oklch */ color: oklch(51.1% 0.120 150.6);
Tailwind
colors: {
  custom: {
    50: '#6aa076',
    500: '#237940',
    950: '#000000',
  },
}
SCSS
$custom: #237940;
$custom-light: #6aa076;
$custom-dark: #000000;
JSON
{
  "hex": "#237940",
  "rgb": {
    "r": 35,
    "g": 121,
    "b": 64
  },
  "hsl": {
    "h": 140.233,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.12023,
    "h": 150.6
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#237940
secondary
#AC4C8B
accent
#49ACDE
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070F08
muted
#7A7E7B

Preview Lab

Preview with #237940

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

Preview Lab → · Contrast checker → · Palette generator →

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