#238C28#238C28

#238C28 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.1% C 0.166 H 143.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#238C28
RGBrgb(35, 140, 40)
HSLhsl(123, 60%, 34%)
HSVhsv(123, 75%, 55%)
CMYKcmyk(75%, 0%, 71.4%, 45.1%)
CIE-LABlab(51.00, -49.22, 43.07)
CIE-LCHlch(51.00, 65.40, 138.81°)
OKLaboklab(56.14% -0.1334 0.0985)
OKLCHoklch(56.14% 0.166 143.5)
XYZxyz(10.4536, 19.2655, 5.1748)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C28 #8C2387
analogous
#538C23 #238C28 #238C5D
triadic
#238C28 #28238C #8C2823
tetradic
#238C28 #23538C #8C2387 #8C5D23
square
#238C28 #23538C #8C2387 #8C5D23
split-complementary
#238C28 #5D238C #8C2353
monochromatic
#0B2A0C #175B1A #238C28 #2FBD36 #55D45B

Accessibility & contrast

On white

4.33
#238C28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#238C28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238C28
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238C28#FFFFFF#000000##000000
##238C281.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E19
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c28;
/* rgb */ color: rgb(35, 140, 40);
/* oklch */ color: oklch(56.1% 0.166 143.5);
Tailwind
colors: {
  custom: {
    50: '#70af68',
    500: '#238c28',
    950: '#000000',
  },
}
SCSS
$custom: #238c28;
$custom-light: #70af68;
$custom-dark: #000000;
JSON
{
  "hex": "#238c28",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 40
  },
  "hsl": {
    "h": 122.857,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56135,
    "c": 0.16582,
    "h": 143.5
  },
  "luminance": 0.19267
}

Semantic roles & 50–950 ramp

primary
#238C28
secondary
#B852B4
accent
#45DCE3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238C28

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

Preview Lab → · Contrast checker → · Palette generator →

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