#238D23#238D23

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

Color values

HEX#238D23
RGBrgb(35, 141, 35)
HSLhsl(120, 60%, 35%)
HSVhsv(120, 75%, 55%)
CMYKcmyk(75.2%, 0%, 75.2%, 44.7%)
CIE-LABlab(51.30, -50.01, 45.36)
CIE-LCHlch(51.30, 67.51, 137.79°)
OKLaboklab(56.37% -0.1358 0.1027)
OKLCHoklch(56.37% 0.17 142.9)
XYZxyz(10.5207, 19.5272, 4.8045)
Luminance0.1953 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238D23 #8D238D
analogous
#588D23 #238D23 #238D58
triadic
#238D23 #23238D #8D2323
tetradic
#238D23 #23588D #8D238D #8D5823
square
#238D23 #23588D #8D238D #8D5823
split-complementary
#238D23 #58238D #8D2358
monochromatic
#0B2B0B #175C17 #238D23 #2FBE2F #55D555

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238D23#FFFFFF#000000##000000
##238D231.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)
#907F0F
Deuteranopia (green-blind)
#84772E
Tritanopia (blue-blind)
#008978
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #238d23;
/* rgb */ color: rgb(35, 141, 35);
/* oklch */ color: oklch(56.4% 0.170 142.9);
Tailwind
colors: {
  custom: {
    50: '#70af65',
    500: '#238d23',
    950: '#000000',
  },
}
SCSS
$custom: #238d23;
$custom-light: #70af65;
$custom-dark: #000000;
JSON
{
  "hex": "#238d23",
  "rgb": {
    "r": 35,
    "g": 141,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56374,
    "c": 0.17021,
    "h": 142.9
  },
  "luminance": 0.19528
}

Semantic roles & 50–950 ramp

primary
#238D23
secondary
#B953B9
accent
#44E3E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238D23

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

Preview Lab → · Contrast checker → · Palette generator →

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