#23871E#23871E

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

Color values

HEX#23871E
RGBrgb(35, 135, 30)
HSLhsl(117, 64%, 32%)
HSVhsv(117, 78%, 53%)
CMYKcmyk(74.1%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.23, -48.37, 45.13)
CIE-LCHlch(49.23, 66.15, 136.98°)
OKLaboklab(54.64% -0.1315 0.1015)
OKLCHoklch(54.64% 0.166 142.3)
XYZxyz(9.5909, 17.7779, 4.1541)
Luminance0.1778 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23871E #821E87
analogous
#57871E #23871E #1E874E
triadic
#23871E #1E2387 #871E23
tetradic
#23871E #1E5787 #821E87 #874E1E
square
#23871E #1E5787 #821E87 #874E1E
split-complementary
#23871E #4E1E87 #871E57
monochromatic
#092308 #165513 #23871E #30B929 #50D749

Accessibility & contrast

On white

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

On black

4.56
#23871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##23871E#FFFFFF#000000##FFFFFF
##23871E1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23871e;
/* rgb */ color: rgb(35, 135, 30);
/* oklch */ color: oklch(54.6% 0.166 142.3);
Tailwind
colors: {
  custom: {
    50: '#6fab62',
    500: '#23871e',
    950: '#000000',
  },
}
SCSS
$custom: #23871e;
$custom-light: #6fab62;
$custom-dark: #000000;
JSON
{
  "hex": "#23871e",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 117.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54643,
    "c": 0.16616,
    "h": 142.3
  },
  "luminance": 0.17779
}

Semantic roles & 50–950 ramp

primary
#23871E
secondary
#B348B9
accent
#41E7DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #23871E

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

Preview Lab → · Contrast checker → · Palette generator →

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