#239A42#239A42

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

Color values

HEX#239A42
RGBrgb(35, 154, 66)
HSLhsl(136, 63%, 37%)
HSVhsv(136, 77%, 60%)
CMYKcmyk(77.3%, 0%, 57.1%, 39.6%)
CIE-LABlab(55.95, -50.99, 36.73)
CIE-LCHlch(55.95, 62.84, 144.23°)
OKLaboklab(60.33% -0.1372 0.0876)
OKLCHoklch(60.33% 0.163 147.4)
XYZxyz(13.2311, 23.8603, 9.0614)
Luminance0.2386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#239A42 #9A237B
analogous
#409A23 #239A42 #239A7E
triadic
#239A42 #42239A #9A4223
tetradic
#239A42 #23409A #9A237B #9A7E23
square
#239A42 #23409A #9A237B #9A7E23
split-complementary
#239A42 #7E239A #9A2340
monochromatic
#0C3617 #18682D #239A42 #2ECC57 #5DDA7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##239A42#FFFFFF#000000##000000
##239A421.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)
#9C8C3A
Deuteranopia (green-blind)
#8E8249
Tritanopia (blue-blind)
#009786
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #239a42;
/* rgb */ color: rgb(35, 154, 66);
/* oklch */ color: oklch(60.3% 0.163 147.4);
Tailwind
colors: {
  custom: {
    50: '#72b979',
    500: '#239a42',
    950: '#000000',
  },
}
SCSS
$custom: #239a42;
$custom-light: #72b979;
$custom-dark: #000000;
JSON
{
  "hex": "#239a42",
  "rgb": {
    "r": 35,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 135.63,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60325,
    "c": 0.16273,
    "h": 147.4
  },
  "luminance": 0.23862
}

Semantic roles & 50–950 ramp

primary
#239A42
secondary
#BF5AA5
accent
#42BBE6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #239A42

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

Preview Lab → · Contrast checker → · Palette generator →

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