#238E42#238E42

#238E42 is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.0% C 0.147 H 148.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#238E42
RGBrgb(35, 142, 66)
HSLhsl(137, 60%, 35%)
HSVhsv(137, 75%, 56%)
CMYKcmyk(75.4%, 0%, 53.5%, 44.3%)
CIE-LABlab(51.94, -46.66, 31.89)
CIE-LCHlch(51.94, 56.51, 145.65°)
OKLaboklab(57.01% -0.1255 0.0769)
OKLCHoklch(57.01% 0.147 148.5)
XYZxyz(11.3486, 20.0954, 8.4339)
Luminance0.2010 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E42 #8E236F
analogous
#3A8E23 #238E42 #238E78
triadic
#238E42 #42238E #8E4223
tetradic
#238E42 #233A8E #8E236F #8E7823
square
#238E42 #233A8E #8E236F #8E7823
split-complementary
#238E42 #78238E #8E233A
monochromatic
#0B2C14 #175D2B #238E42 #2FBF59 #56D57B

Accessibility & contrast

On white

4.18
#238E42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#238E42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E42
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E42#FFFFFF#000000##000000
##238E421.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813B
Deuteranopia (green-blind)
#837848
Tritanopia (blue-blind)
#008B7D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238e42;
/* rgb */ color: rgb(35, 142, 66);
/* oklch */ color: oklch(57.0% 0.147 148.5);
Tailwind
colors: {
  custom: {
    50: '#6fb078',
    500: '#238e42',
    950: '#000000',
  },
}
SCSS
$custom: #238e42;
$custom-light: #6fb078;
$custom-dark: #000000;
JSON
{
  "hex": "#238e42",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 66
  },
  "hsl": {
    "h": 137.383,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5701,
    "c": 0.14718,
    "h": 148.5
  },
  "luminance": 0.20097
}

Semantic roles & 50–950 ramp

primary
#238E42
secondary
#B9539C
accent
#44B5E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081109
muted
#7B807B

Preview Lab

Preview with #238E42

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

Preview Lab → · Contrast checker → · Palette generator →

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