#238C40#238C40

#238C40 is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.4% C 0.146 H 148.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#238C40
RGBrgb(35, 140, 64)
HSLhsl(137, 60%, 34%)
HSVhsv(137, 75%, 55%)
CMYKcmyk(75%, 0%, 54.3%, 45.1%)
CIE-LABlab(51.25, -46.23, 32.07)
CIE-LCHlch(51.25, 56.26, 145.25°)
OKLaboklab(56.42% -0.1244 0.0772)
OKLCHoklch(56.42% 0.146 148.2)
XYZxyz(10.9958, 19.4824, 8.0305)
Luminance0.1948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C40 #8C236F
analogous
#3B8C23 #238C40 #238C75
triadic
#238C40 #40238C #8C4023
tetradic
#238C40 #233B8C #8C236F #8C7523
square
#238C40 #233B8C #8C236F #8C7523
split-complementary
#238C40 #75238C #8C233B
monochromatic
#0B2A13 #175B2A #238C40 #2FBD56 #55D478

Accessibility & contrast

On white

4.29
#238C40 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#238C40 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C40
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C40#FFFFFF#000000##000000
##238C401.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7F39
Deuteranopia (green-blind)
#817746
Tritanopia (blue-blind)
#00897B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238c40;
/* rgb */ color: rgb(35, 140, 64);
/* oklch */ color: oklch(56.4% 0.146 148.2);
Tailwind
colors: {
  custom: {
    50: '#6faf77',
    500: '#238c40',
    950: '#000000',
  },
}
SCSS
$custom: #238c40;
$custom-light: #6faf77;
$custom-dark: #000000;
JSON
{
  "hex": "#238c40",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 64
  },
  "hsl": {
    "h": 136.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.14636,
    "h": 148.2
  },
  "luminance": 0.19484
}

Semantic roles & 50–950 ramp

primary
#238C40
secondary
#B8529C
accent
#45B7E3
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #238C40

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

Preview Lab → · Contrast checker → · Palette generator →

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