#238C24#238C24

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

Color values

HEX#238C24
RGBrgb(35, 140, 36)
HSLhsl(121, 60%, 34%)
HSVhsv(121, 75%, 55%)
CMYKcmyk(75%, 0%, 74.3%, 45.1%)
CIE-LABlab(50.97, -49.58, 44.64)
CIE-LCHlch(50.97, 66.72, 138.01°)
OKLaboklab(56.1% -0.1345 0.1013)
OKLCHoklch(56.1% 0.168 143)
XYZxyz(10.3890, 19.2397, 4.8348)
Luminance0.1924 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#238C24 #8C238B
analogous
#578C23 #238C24 #238C58
triadic
#238C24 #24238C #8C2423
tetradic
#238C24 #23578C #8C238B #8C5823
square
#238C24 #23578C #8C238B #8C5823
split-complementary
#238C24 #58238C #8C2357
monochromatic
#0B2A0B #175B17 #238C24 #2FBD31 #55D456

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##238C24#FFFFFF#000000##000000
##238C241.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)
#8F7E12
Deuteranopia (green-blind)
#83762F
Tritanopia (blue-blind)
#008878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #238c24;
/* rgb */ color: rgb(35, 140, 36);
/* oklch */ color: oklch(56.1% 0.168 143.0);
Tailwind
colors: {
  custom: {
    50: '#70af66',
    500: '#238c24',
    950: '#000000',
  },
}
SCSS
$custom: #238c24;
$custom-light: #70af66;
$custom-dark: #000000;
JSON
{
  "hex": "#238c24",
  "rgb": {
    "r": 35,
    "g": 140,
    "b": 36
  },
  "hsl": {
    "h": 120.571,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56101,
    "c": 0.16842,
    "h": 143
  },
  "luminance": 0.19241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #238C24

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

Preview Lab → · Contrast checker → · Palette generator →

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