#239840#239840

#239840 is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.7% C 0.162 H 147.2°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#239840
RGBrgb(35, 152, 64)
HSLhsl(135, 63%, 37%)
HSVhsv(135, 77%, 60%)
CMYKcmyk(77%, 0%, 57.9%, 40.4%)
CIE-LABlab(55.26, -50.56, 36.89)
CIE-LCHlch(55.26, 62.59, 143.88°)
OKLaboklab(59.75% -0.1361 0.0878)
OKLCHoklch(59.75% 0.162 147.2)
XYZxyz(12.8458, 23.1825, 8.6471)
Luminance0.2318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#239840 #98237B
analogous
#419823 #239840 #23987B
triadic
#239840 #402398 #984023
tetradic
#239840 #234198 #98237B #987B23
square
#239840 #234198 #98237B #987B23
split-complementary
#239840 #7B2398 #982341
monochromatic
#0C3516 #18662B #239840 #2ECA55 #5CD97B

Accessibility & contrast

On white

3.73
#239840 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#239840 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #239840
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##239840#FFFFFF#000000##000000
##2398401.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A37
Deuteranopia (green-blind)
#8D8147
Tritanopia (blue-blind)
#009585
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #239840;
/* rgb */ color: rgb(35, 152, 64);
/* oklch */ color: oklch(59.7% 0.162 147.2);
Tailwind
colors: {
  custom: {
    50: '#71b777',
    500: '#239840',
    950: '#000000',
  },
}
SCSS
$custom: #239840;
$custom-light: #71b777;
$custom-dark: #000000;
JSON
{
  "hex": "#239840",
  "rgb": {
    "r": 35,
    "g": 152,
    "b": 64
  },
  "hsl": {
    "h": 134.872,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.16191,
    "h": 147.2
  },
  "luminance": 0.23184
}

Semantic roles & 50–950 ramp

primary
#239840
secondary
#BE59A5
accent
#42BDE6
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#091109
muted
#7B807B

Preview Lab

Preview with #239840

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

Preview Lab → · Contrast checker → · Palette generator →

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