#238E40#238E40

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

Color values

HEX#238E40
RGBrgb(35, 142, 64)
HSLhsl(136, 60%, 35%)
HSVhsv(136, 75%, 56%)
CMYKcmyk(75.4%, 0%, 54.9%, 44.3%)
CIE-LABlab(51.92, -46.96, 32.89)
CIE-LCHlch(51.92, 57.33, 145.00°)
OKLaboklab(56.98% -0.1264 0.079)
OKLCHoklch(56.98% 0.149 148)
XYZxyz(11.2907, 20.0722, 8.1288)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E40 #8E2371
analogous
#3B8E23 #238E40 #238E76
triadic
#238E40 #40238E #8E4023
tetradic
#238E40 #233B8E #8E2371 #8E7623
square
#238E40 #233B8E #8E2371 #8E7623
split-complementary
#238E40 #76238E #8E233B
monochromatic
#0B2C14 #175D2A #238E40 #2FBF56 #56D579

Accessibility & contrast

On white

4.19
#238E40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#238E40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E40
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E40#FFFFFF#000000##000000
##238E401.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8139
Deuteranopia (green-blind)
#837846
Tritanopia (blue-blind)
#008B7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #238e40;
/* rgb */ color: rgb(35, 142, 64);
/* oklch */ color: oklch(57.0% 0.149 148.0);
Tailwind
colors: {
  custom: {
    50: '#6fb077',
    500: '#238e40',
    950: '#000000',
  },
}
SCSS
$custom: #238e40;
$custom-light: #6fb077;
$custom-dark: #000000;
JSON
{
  "hex": "#238e40",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 64
  },
  "hsl": {
    "h": 136.262,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5698,
    "c": 0.149,
    "h": 148
  },
  "luminance": 0.20073
}

Semantic roles & 50–950 ramp

primary
#238E40
secondary
#B9539E
accent
#44B8E4
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081109
muted
#7B807B

Preview Lab

Preview with #238E40

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

Preview Lab → · Contrast checker → · Palette generator →

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