#23871D#23871D

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

Color values

HEX#23871D
RGBrgb(35, 135, 29)
HSLhsl(117, 65%, 32%)
HSVhsv(117, 79%, 53%)
CMYKcmyk(74.1%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.22, -48.44, 45.48)
CIE-LCHlch(49.22, 66.44, 136.81°)
OKLaboklab(54.64% -0.1318 0.1021)
OKLCHoklch(54.64% 0.167 142.2)
XYZxyz(9.5783, 17.7729, 4.0879)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23871D #811D87
analogous
#58871D #23871D #1D874C
triadic
#23871D #1D2387 #871D23
tetradic
#23871D #1D5887 #811D87 #874C1D
square
#23871D #1D5887 #811D87 #874C1D
split-complementary
#23871D #4C1D87 #871D58
monochromatic
#092207 #165512 #23871D #30B928 #4FD747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23871D#FFFFFF#000000##FFFFFF
##23871D1.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)
#8A7A04
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#018373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #23871d;
/* rgb */ color: rgb(35, 135, 29);
/* oklch */ color: oklch(54.6% 0.167 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fab61',
    500: '#23871d',
    950: '#000000',
  },
}
SCSS
$custom: #23871d;
$custom-light: #6fab61;
$custom-dark: #000000;
JSON
{
  "hex": "#23871d",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 116.604,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.54636,
    "c": 0.16672,
    "h": 142.2
  },
  "luminance": 0.17774
}

Semantic roles & 50–950 ramp

primary
#23871D
secondary
#B346B9
accent
#40E8DE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #23871D

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

Preview Lab → · Contrast checker → · Palette generator →

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