#239740#239740

#239740 is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.161 H 147.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#239740
RGBrgb(35, 151, 64)
HSLhsl(135, 62%, 36%)
HSVhsv(135, 77%, 59%)
CMYKcmyk(76.8%, 0%, 57.6%, 40.8%)
CIE-LABlab(54.93, -50.21, 36.50)
CIE-LCHlch(54.93, 62.07, 143.98°)
OKLaboklab(59.47% -0.1351 0.0869)
OKLCHoklch(59.47% 0.161 147.2)
XYZxyz(12.6842, 22.8592, 8.5933)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#239740 #97237A
analogous
#409723 #239740 #23977A
triadic
#239740 #402397 #974023
tetradic
#239740 #234097 #97237A #977A23
square
#239740 #234097 #97237A #977A23
split-complementary
#239740 #7A2397 #972340
monochromatic
#0C3416 #17652B #239740 #2FC955 #5BD97B

Accessibility & contrast

On white

3.77
#239740 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#239740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #239740
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##239740#FFFFFF#000000##000000
##2397401.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998938
Deuteranopia (green-blind)
#8C8047
Tritanopia (blue-blind)
#009484
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #239740;
/* rgb */ color: rgb(35, 151, 64);
/* oklch */ color: oklch(59.5% 0.161 147.2);
Tailwind
colors: {
  custom: {
    50: '#71b777',
    500: '#239740',
    950: '#000000',
  },
}
SCSS
$custom: #239740;
$custom-light: #71b777;
$custom-dark: #000000;
JSON
{
  "hex": "#239740",
  "rgb": {
    "r": 35,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 135,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59472,
    "c": 0.16064,
    "h": 147.2
  },
  "luminance": 0.22861
}

Semantic roles & 50–950 ramp

primary
#239740
secondary
#BE58A4
accent
#42BDE5
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #239740

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

Preview Lab → · Contrast checker → · Palette generator →

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