#239940#239940

#239940 is a mid, vivid green. Relative luminance 0.235; OKLCH L 60.0% C 0.163 H 147.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#239940
RGBrgb(35, 153, 64)
HSLhsl(135, 63%, 37%)
HSVhsv(135, 77%, 60%)
CMYKcmyk(77.1%, 0%, 58.2%, 40%)
CIE-LABlab(55.59, -50.91, 37.29)
CIE-LCHlch(55.59, 63.11, 143.78°)
OKLaboklab(60.02% -0.137 0.0886)
OKLCHoklch(60.02% 0.163 147.1)
XYZxyz(13.0088, 23.5084, 8.7015)
Luminance0.2351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#239940 #99237C
analogous
#419923 #239940 #23997B
triadic
#239940 #402399 #994023
tetradic
#239940 #234199 #99237C #997B23
square
#239940 #234199 #99237C #997B23
split-complementary
#239940 #7B2399 #992341
monochromatic
#0C3516 #18672B #239940 #2ECB55 #5DDA7B

Accessibility & contrast

On white

3.68
#239940 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#239940 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #239940
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##239940#FFFFFF#000000##000000
##2399401.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8B37
Deuteranopia (green-blind)
#8E8147
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #239940;
/* rgb */ color: rgb(35, 153, 64);
/* oklch */ color: oklch(60.0% 0.163 147.1);
Tailwind
colors: {
  custom: {
    50: '#72b877',
    500: '#239940',
    950: '#000000',
  },
}
SCSS
$custom: #239940;
$custom-light: #72b877;
$custom-dark: #000000;
JSON
{
  "hex": "#239940",
  "rgb": {
    "r": 35,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 134.746,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60023,
    "c": 0.16318,
    "h": 147.1
  },
  "luminance": 0.2351
}

Semantic roles & 50–950 ramp

primary
#239940
secondary
#BE59A6
accent
#42BEE6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #239940

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

Preview Lab → · Contrast checker → · Palette generator →

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