#238C4A#238C4A

#238C4A is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.6% C 0.137 H 151.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#238C4A
RGBrgb(35, 140, 74)
HSLhsl(142, 60%, 34%)
HSVhsv(142, 75%, 55%)
CMYKcmyk(75%, 0%, 47.1%, 45.1%)
CIE-LABlab(51.39, -44.57, 26.97)
CIE-LCHlch(51.39, 52.09, 148.82°)
OKLaboklab(56.59% -0.1199 0.0661)
OKLCHoklch(56.59% 0.137 151.1)
XYZxyz(11.3063, 19.6066, 9.6658)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C4A #8C2365
analogous
#308C23 #238C4A #238C7F
triadic
#238C4A #4A238C #8C4A23
tetradic
#238C4A #23308C #8C2365 #8C7F23
square
#238C4A #23308C #8C2365 #8C7F23
split-complementary
#238C4A #7F238C #8C2330
monochromatic
#0B2A16 #175B30 #238C4A #2FBD64 #55D484

Accessibility & contrast

On white

4.27
#238C4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#238C4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C4A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C4A#FFFFFF#000000##000000
##238C4A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8045
Deuteranopia (green-blind)
#80774F
Tritanopia (blue-blind)
#008A7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238c4a;
/* rgb */ color: rgb(35, 140, 74);
/* oklch */ color: oklch(56.6% 0.137 151.1);
Tailwind
colors: {
  custom: {
    50: '#6eaf7d',
    500: '#238c4a',
    950: '#000000',
  },
}
SCSS
$custom: #238c4a;
$custom-light: #6eaf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#238c4a",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 74
  },
  "hsl": {
    "h": 142.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56588,
    "c": 0.13694,
    "h": 151.1
  },
  "luminance": 0.19608
}

Semantic roles & 50–950 ramp

primary
#238C4A
secondary
#B85293
accent
#45A8E3
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#08100A
muted
#7B7F7C

Preview Lab

Preview with #238C4A

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

Preview Lab → · Contrast checker → · Palette generator →

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