#23872F#23872F

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

Color values

HEX#23872F
RGBrgb(35, 135, 47)
HSLhsl(127, 59%, 33%)
HSVhsv(127, 74%, 53%)
CMYKcmyk(74.1%, 0%, 65.2%, 47.1%)
CIE-LABlab(49.36, -46.72, 38.22)
CIE-LCHlch(49.36, 60.36, 140.71°)
OKLaboklab(54.8% -0.1263 0.0891)
OKLCHoklch(54.8% 0.155 144.8)
XYZxyz(9.8695, 17.8894, 5.6216)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23872F #87237B
analogous
#498723 #23872F #238761
triadic
#23872F #2F2387 #872F23
tetradic
#23872F #234987 #87237B #876123
square
#23872F #234987 #87237B #876123
split-complementary
#23872F #612387 #872349
monochromatic
#0A260D #16561E #23872F #30B840 #52D262

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23872F#FFFFFF#000000##FFFFFF
##23872F1.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)
#897A25
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #23872f;
/* rgb */ color: rgb(35, 135, 47);
/* oklch */ color: oklch(54.8% 0.155 144.8);
Tailwind
colors: {
  custom: {
    50: '#6eab6b',
    500: '#23872f',
    950: '#000000',
  },
}
SCSS
$custom: #23872f;
$custom-light: #6eab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#23872f",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 127.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54799,
    "c": 0.15454,
    "h": 144.8
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#23872F
secondary
#B650AA
accent
#46CFE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #23872F

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

Preview Lab → · Contrast checker → · Palette generator →

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