#239A40#239A40

#239A40 is a mid, vivid green. Relative luminance 0.238; OKLCH L 60.3% C 0.164 H 147.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#239A40
RGBrgb(35, 154, 64)
HSLhsl(135, 63%, 37%)
HSVhsv(135, 77%, 60%)
CMYKcmyk(77.3%, 0%, 58.4%, 39.6%)
CIE-LABlab(55.92, -51.26, 37.68)
CIE-LCHlch(55.92, 63.62, 143.68°)
OKLaboklab(60.3% -0.138 0.0895)
OKLCHoklch(60.3% 0.164 147)
XYZxyz(13.1732, 23.8371, 8.7563)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#239A40 #9A237D
analogous
#419A23 #239A40 #239A7C
triadic
#239A40 #40239A #9A4023
tetradic
#239A40 #23419A #9A237D #9A7C23
square
#239A40 #23419A #9A237D #9A7C23
split-complementary
#239A40 #7C239A #9A2341
monochromatic
#0C3617 #18682B #239A40 #2ECC55 #5DDA7C

Accessibility & contrast

On white

3.64
#239A40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#239A40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #239A40
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##239A40#FFFFFF#000000##000000
##239A401.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C37
Deuteranopia (green-blind)
#8F8247
Tritanopia (blue-blind)
#009686
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #239a40;
/* rgb */ color: rgb(35, 154, 64);
/* oklch */ color: oklch(60.3% 0.164 147.0);
Tailwind
colors: {
  custom: {
    50: '#72b977',
    500: '#239a40',
    950: '#000000',
  },
}
SCSS
$custom: #239a40;
$custom-light: #72b977;
$custom-dark: #000000;
JSON
{
  "hex": "#239a40",
  "rgb": {
    "r": 35,
    "g": 154,
    "b": 64
  },
  "hsl": {
    "h": 134.622,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.16444,
    "h": 147
  },
  "luminance": 0.23839
}

Semantic roles & 50–950 ramp

primary
#239A40
secondary
#BF5AA6
accent
#42BEE6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #239A40

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

Preview Lab → · Contrast checker → · Palette generator →

#239A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva