#238D28#238D28

#238D28 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.4% C 0.167 H 143.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#238D28
RGBrgb(35, 141, 40)
HSLhsl(123, 60%, 35%)
HSVhsv(123, 75%, 55%)
CMYKcmyk(75.2%, 0%, 71.6%, 44.7%)
CIE-LABlab(51.34, -49.56, 43.42)
CIE-LCHlch(51.34, 65.89, 138.78°)
OKLaboklab(56.42% -0.1343 0.0993)
OKLCHoklch(56.42% 0.167 143.5)
XYZxyz(10.6003, 19.5591, 5.2237)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D28 #8D2388
analogous
#538D23 #238D28 #238D5D
triadic
#238D28 #28238D #8D2823
tetradic
#238D28 #23538D #8D2388 #8D5D23
square
#238D28 #23538D #8D2388 #8D5D23
split-complementary
#238D28 #5D238D #8D2353
monochromatic
#0B2B0C #175C1A #238D28 #2FBE36 #55D55B

Accessibility & contrast

On white

4.28
#238D28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#238D28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238D28
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238D28#FFFFFF#000000##000000
##238D281.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F19
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#008979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d28;
/* rgb */ color: rgb(35, 141, 40);
/* oklch */ color: oklch(56.4% 0.167 143.5);
Tailwind
colors: {
  custom: {
    50: '#70af68',
    500: '#238d28',
    950: '#000000',
  },
}
SCSS
$custom: #238d28;
$custom-light: #70af68;
$custom-dark: #000000;
JSON
{
  "hex": "#238d28",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 40
  },
  "hsl": {
    "h": 122.83,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56416,
    "c": 0.16701,
    "h": 143.5
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#238D28
secondary
#B953B4
accent
#44DCE3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238D28

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

Preview Lab → · Contrast checker → · Palette generator →

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