#23871C#23871C

#23871C is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.6% C 0.167 H 142.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#23871C
RGBrgb(35, 135, 28)
HSLhsl(116, 66%, 32%)
HSVhsv(116, 79%, 53%)
CMYKcmyk(74.1%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.21, -48.51, 45.82)
CIE-LCHlch(49.21, 66.73, 136.64°)
OKLaboklab(54.63% -0.132 0.1027)
OKLCHoklch(54.63% 0.167 142.1)
XYZxyz(9.5662, 17.7680, 4.0238)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23871C #801C87
analogous
#59871C #23871C #1C874B
triadic
#23871C #1C2387 #871C23
tetradic
#23871C #1C5987 #801C87 #874B1C
square
#23871C #1C5987 #801C87 #874B1C
split-complementary
#23871C #4B1C87 #871C59
monochromatic
#092207 #165411 #23871C #30BA27 #4FD845

Accessibility & contrast

On white

4.61
#23871C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#23871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #23871C
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23871C#FFFFFF#000000##FFFFFF
##23871C1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A02
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#018373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #23871c;
/* rgb */ color: rgb(35, 135, 28);
/* oklch */ color: oklch(54.6% 0.167 142.1);
Tailwind
colors: {
  custom: {
    50: '#6fab61',
    500: '#23871c',
    950: '#000000',
  },
}
SCSS
$custom: #23871c;
$custom-light: #6fab61;
$custom-dark: #000000;
JSON
{
  "hex": "#23871c",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 116.075,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.16725,
    "h": 142.1
  },
  "luminance": 0.17769
}

Semantic roles & 50–950 ramp

primary
#23871C
secondary
#B245BA
accent
#3FE9DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #23871C

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

Preview Lab → · Contrast checker → · Palette generator →

#23871C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva