#238C38#238C38

#238C38 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.3% C 0.153 H 146.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#238C38
RGBrgb(35, 140, 56)
HSLhsl(132, 60%, 34%)
HSVhsv(132, 75%, 55%)
CMYKcmyk(75%, 0%, 60%, 45.1%)
CIE-LABlab(51.15, -47.38, 35.97)
CIE-LCHlch(51.15, 59.49, 142.79°)
OKLaboklab(56.31% -0.1277 0.0851)
OKLCHoklch(56.31% 0.153 146.3)
XYZxyz(10.7843, 19.3978, 6.9164)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C38 #8C2377
analogous
#438C23 #238C38 #238C6D
triadic
#238C38 #38238C #8C3823
tetradic
#238C38 #23438C #8C2377 #8C6D23
square
#238C38 #23438C #8C2377 #8C6D23
split-complementary
#238C38 #6D238C #8C2343
monochromatic
#0B2A11 #175B24 #238C38 #2FBD4C #55D46E

Accessibility & contrast

On white

4.30
#238C38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#238C38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C38
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C38#FFFFFF#000000##000000
##238C381.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2F
Deuteranopia (green-blind)
#82773F
Tritanopia (blue-blind)
#00897A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238c38;
/* rgb */ color: rgb(35, 140, 56);
/* oklch */ color: oklch(56.3% 0.153 146.3);
Tailwind
colors: {
  custom: {
    50: '#6faf71',
    500: '#238c38',
    950: '#000000',
  },
}
SCSS
$custom: #238c38;
$custom-light: #6faf71;
$custom-dark: #000000;
JSON
{
  "hex": "#238c38",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 56
  },
  "hsl": {
    "h": 132,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56311,
    "c": 0.15347,
    "h": 146.3
  },
  "luminance": 0.19399
}

Semantic roles & 50–950 ramp

primary
#238C38
secondary
#B852A4
accent
#45C3E3
background
#F7FAF7
surface
#EDF5ED
border
#C8CFC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #238C38

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

Preview Lab → · Contrast checker → · Palette generator →

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