#238D41#238D41

#238D41 is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.7% C 0.147 H 148.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#238D41
RGBrgb(35, 141, 65)
HSLhsl(137, 60%, 35%)
HSVhsv(137, 75%, 55%)
CMYKcmyk(75.2%, 0%, 53.9%, 44.7%)
CIE-LABlab(51.60, -46.44, 31.98)
CIE-LCHlch(51.60, 56.39, 145.45°)
OKLaboklab(56.72% -0.1249 0.077)
OKLCHoklch(56.72% 0.147 148.4)
XYZxyz(11.1713, 19.7874, 8.2306)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D41 #8D236F
analogous
#3A8D23 #238D41 #238D76
triadic
#238D41 #41238D #8D4123
tetradic
#238D41 #233A8D #8D236F #8D7623
square
#238D41 #233A8D #8D236F #8D7623
split-complementary
#238D41 #76238D #8D233A
monochromatic
#0B2B14 #175C2A #238D41 #2FBE58 #55D57A

Accessibility & contrast

On white

4.24
#238D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#238D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D41
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D41#FFFFFF#000000##000000
##238D411.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E803A
Deuteranopia (green-blind)
#827847
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238d41;
/* rgb */ color: rgb(35, 141, 65);
/* oklch */ color: oklch(56.7% 0.147 148.4);
Tailwind
colors: {
  custom: {
    50: '#6faf77',
    500: '#238d41',
    950: '#000000',
  },
}
SCSS
$custom: #238d41;
$custom-light: #6faf77;
$custom-dark: #000000;
JSON
{
  "hex": "#238d41",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 136.981,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56717,
    "c": 0.14678,
    "h": 148.4
  },
  "luminance": 0.19789
}

Semantic roles & 50–950 ramp

primary
#238D41
secondary
#B9539C
accent
#44B6E3
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238D41

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

Preview Lab → · Contrast checker → · Palette generator →

#238D41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva