#238F40#238F40

#238F40 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.150 H 147.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#238F40
RGBrgb(35, 143, 64)
HSLhsl(136, 61%, 35%)
HSVhsv(136, 76%, 56%)
CMYKcmyk(75.5%, 0%, 55.2%, 43.9%)
CIE-LABlab(52.25, -47.33, 33.29)
CIE-LCHlch(52.25, 57.87, 144.88°)
OKLaboklab(57.26% -0.1273 0.0799)
OKLCHoklch(57.26% 0.15 147.9)
XYZxyz(11.4401, 20.3711, 8.1786)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238F40 #8F2372
analogous
#3C8F23 #238F40 #238F76
triadic
#238F40 #40238F #8F4023
tetradic
#238F40 #233C8F #8F2372 #8F7623
square
#238F40 #233C8F #8F2372 #8F7623
split-complementary
#238F40 #76238F #8F233C
monochromatic
#0B2D14 #175E2A #238F40 #2FC056 #57D679

Accessibility & contrast

On white

4.14
#238F40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#238F40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238F40
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238F40#FFFFFF#000000##000000
##238F401.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918239
Deuteranopia (green-blind)
#847946
Tritanopia (blue-blind)
#008C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #238f40;
/* rgb */ color: rgb(35, 143, 64);
/* oklch */ color: oklch(57.3% 0.150 147.9);
Tailwind
colors: {
  custom: {
    50: '#6fb177',
    500: '#238f40',
    950: '#000000',
  },
}
SCSS
$custom: #238f40;
$custom-light: #6fb177;
$custom-dark: #000000;
JSON
{
  "hex": "#238f40",
  "rgb": {
    "r": 35,
    "g": 143,
    "b": 64
  },
  "hsl": {
    "h": 136.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.57258,
    "c": 0.15032,
    "h": 147.9
  },
  "luminance": 0.20372
}

Semantic roles & 50–950 ramp

primary
#238F40
secondary
#BA549F
accent
#44B9E4
background
#F7FBF7
surface
#EDF6ED
border
#C8D0C8
text
#081109
muted
#7B807B

Preview Lab

Preview with #238F40

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

Preview Lab → · Contrast checker → · Palette generator →

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