#238E28#238E28

#238E28 is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.7% C 0.168 H 143.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#238E28
RGBrgb(35, 142, 40)
HSLhsl(123, 60%, 35%)
HSVhsv(123, 75%, 56%)
CMYKcmyk(75.4%, 0%, 71.8%, 44.3%)
CIE-LABlab(51.67, -49.90, 43.78)
CIE-LCHlch(51.67, 66.38, 138.74°)
OKLaboklab(56.7% -0.1352 0.1)
OKLCHoklch(56.7% 0.168 143.5)
XYZxyz(10.7485, 19.8553, 5.2731)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238E28 #8E2389
analogous
#538E23 #238E28 #238E5E
triadic
#238E28 #28238E #8E2823
tetradic
#238E28 #23538E #8E2389 #8E5E23
square
#238E28 #23538E #8E2389 #8E5E23
split-complementary
#238E28 #5E238E #8E2353
monochromatic
#0B2C0C #175D1A #238E28 #2FBF36 #56D55C

Accessibility & contrast

On white

4.22
#238E28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#238E28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #238E28
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##238E28#FFFFFF#000000##000000
##238E281.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#008A7A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #238e28;
/* rgb */ color: rgb(35, 142, 40);
/* oklch */ color: oklch(56.7% 0.168 143.5);
Tailwind
colors: {
  custom: {
    50: '#70b068',
    500: '#238e28',
    950: '#000000',
  },
}
SCSS
$custom: #238e28;
$custom-light: #70b068;
$custom-dark: #000000;
JSON
{
  "hex": "#238e28",
  "rgb": {
    "r": 35,
    "g": 142,
    "b": 40
  },
  "hsl": {
    "h": 122.804,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56697,
    "c": 0.16821,
    "h": 143.5
  },
  "luminance": 0.19857
}

Semantic roles & 50–950 ramp

primary
#238E28
secondary
#B953B5
accent
#44DCE4
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091106
muted
#7B807A

Preview Lab

Preview with #238E28

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

Preview Lab → · Contrast checker → · Palette generator →

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