#238C23#238C23

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

Color values

HEX#238C23
RGBrgb(35, 140, 35)
HSLhsl(120, 60%, 34%)
HSVhsv(120, 75%, 55%)
CMYKcmyk(75%, 0%, 75%, 45.1%)
CIE-LABlab(50.96, -49.67, 45.01)
CIE-LCHlch(50.96, 67.03, 137.81°)
OKLaboklab(56.09% -0.1348 0.102)
OKLCHoklch(56.09% 0.169 142.9)
XYZxyz(10.3740, 19.2337, 4.7555)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C23 #8C238C
analogous
#588C23 #238C23 #238C58
triadic
#238C23 #23238C #8C2323
tetradic
#238C23 #23588C #8C238C #8C5823
square
#238C23 #23588C #8C238C #8C5823
split-complementary
#238C23 #58238C #8C2358
monochromatic
#0B2A0B #175B17 #238C23 #2FBD2F #55D455

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238C23#FFFFFF#000000##000000
##238C231.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)
#8F7E10
Deuteranopia (green-blind)
#83762E
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c23;
/* rgb */ color: rgb(35, 140, 35);
/* oklch */ color: oklch(56.1% 0.169 142.9);
Tailwind
colors: {
  custom: {
    50: '#70af65',
    500: '#238c23',
    950: '#000000',
  },
}
SCSS
$custom: #238c23;
$custom-light: #70af65;
$custom-dark: #000000;
JSON
{
  "hex": "#238c23",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 35
  },
  "hsl": {
    "h": 120,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56093,
    "c": 0.16904,
    "h": 142.9
  },
  "luminance": 0.19235
}

Semantic roles & 50–950 ramp

primary
#238C23
secondary
#B852B8
accent
#45E3E3
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #238C23

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

Preview Lab → · Contrast checker → · Palette generator →

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