#23871A#23871A

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

Color values

HEX#23871A
RGBrgb(35, 135, 26)
HSLhsl(115, 68%, 32%)
HSVhsv(115, 81%, 53%)
CMYKcmyk(74.1%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.20, -48.65, 46.48)
CIE-LCHlch(49.20, 67.29, 136.31°)
OKLaboklab(54.62% -0.1325 0.1037)
OKLCHoklch(54.62% 0.168 141.9)
XYZxyz(9.5430, 17.7588, 3.9019)
Luminance0.1776 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23871A #7E1A87
analogous
#5A871A #23871A #1A8748
triadic
#23871A #1A2387 #871A23
tetradic
#23871A #1A5A87 #7E1A87 #87481A
square
#23871A #1A5A87 #7E1A87 #87481A
split-complementary
#23871A #481A87 #871A5A
monochromatic
#082006 #165410 #23871A #30BA24 #4EDA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23871A#FFFFFF#000000##FFFFFF
##23871A1.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)
#8A7A00
Deuteranopia (green-blind)
#7F7227
Tritanopia (blue-blind)
#028373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #23871a;
/* rgb */ color: rgb(35, 135, 26);
/* oklch */ color: oklch(54.6% 0.168 141.9);
Tailwind
colors: {
  custom: {
    50: '#6fab60',
    500: '#23871a',
    950: '#000000',
  },
}
SCSS
$custom: #23871a;
$custom-light: #6fab60;
$custom-dark: #000000;
JSON
{
  "hex": "#23871a",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 115.046,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54616,
    "c": 0.1683,
    "h": 141.9
  },
  "luminance": 0.1776
}

Semantic roles & 50–950 ramp

primary
#23871A
secondary
#B042BA
accent
#3DEBDC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #23871A

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

Preview Lab → · Contrast checker → · Palette generator →

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