#239F42#239F42

#239F42 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.169 H 147.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#239F42
RGBrgb(35, 159, 66)
HSLhsl(135, 64%, 38%)
HSVhsv(135, 78%, 62%)
CMYKcmyk(78%, 0%, 58.5%, 37.6%)
CIE-LABlab(57.60, -52.73, 38.69)
CIE-LCHlch(57.60, 65.40, 143.73°)
OKLaboklab(61.7% -0.1419 0.0918)
OKLCHoklch(61.7% 0.169 147.1)
XYZxyz(14.0736, 25.5453, 9.3422)
Luminance0.2555 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#239F42 #9F2380
analogous
#429F23 #239F42 #239F80
triadic
#239F42 #42239F #9F4223
tetradic
#239F42 #23429F #9F2380 #9F8023
square
#239F42 #23429F #9F2380 #9F8023
split-complementary
#239F42 #80239F #9F2342
monochromatic
#0D3B18 #186D2D #239F42 #2ED157 #60DC7F

Accessibility & contrast

On white

3.44
#239F42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#239F42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #239F42
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##239F42#FFFFFF#000000##000000
##239F421.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19039
Deuteranopia (green-blind)
#938749
Tritanopia (blue-blind)
#009B8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #239f42;
/* rgb */ color: rgb(35, 159, 66);
/* oklch */ color: oklch(61.7% 0.169 147.1);
Tailwind
colors: {
  custom: {
    50: '#73bc79',
    500: '#239f42',
    950: '#000000',
  },
}
SCSS
$custom: #239f42;
$custom-light: #73bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#239f42",
  "rgb": {
    "r": 35,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 135,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61697,
    "c": 0.169,
    "h": 147.1
  },
  "luminance": 0.25547
}

Semantic roles & 50–950 ramp

primary
#239F42
secondary
#C15DA8
accent
#41BDE7
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#091209
muted
#7B817B

Preview Lab

Preview with #239F42

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

Preview Lab → · Contrast checker → · Palette generator →

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