#23872E#23872E

#23872E is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.155 H 144.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#23872E
RGBrgb(35, 135, 46)
HSLhsl(127, 59%, 33%)
HSVhsv(127, 74%, 53%)
CMYKcmyk(74.1%, 0%, 65.9%, 47.1%)
CIE-LABlab(49.35, -46.84, 38.67)
CIE-LCHlch(49.35, 60.74, 140.46°)
OKLaboklab(54.79% -0.1266 0.09)
OKLCHoklch(54.79% 0.155 144.6)
XYZxyz(9.8496, 17.8814, 5.5166)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23872E #87237C
analogous
#4A8723 #23872E #238760
triadic
#23872E #2E2387 #872E23
tetradic
#23872E #234A87 #87237C #876023
square
#23872E #234A87 #87237C #876023
split-complementary
#23872E #602387 #87234A
monochromatic
#0A260D #16561D #23872E #30B83F #52D260

Accessibility & contrast

On white

4.59
#23872E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#23872E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #23872E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23872E#FFFFFF#000000##FFFFFF
##23872E1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #23872e;
/* rgb */ color: rgb(35, 135, 46);
/* oklch */ color: oklch(54.8% 0.155 144.6);
Tailwind
colors: {
  custom: {
    50: '#6eab6b',
    500: '#23872e',
    950: '#000000',
  },
}
SCSS
$custom: #23872e;
$custom-light: #6eab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#23872e",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 126.6,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.15532,
    "h": 144.6
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#23872E
secondary
#B650AB
accent
#46D1E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #23872E

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

Preview Lab → · Contrast checker → · Palette generator →

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