#23872D#23872D

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

Color values

HEX#23872D
RGBrgb(35, 135, 45)
HSLhsl(126, 59%, 33%)
HSVhsv(126, 74%, 53%)
CMYKcmyk(74.1%, 0%, 66.7%, 47.1%)
CIE-LABlab(49.34, -46.95, 39.12)
CIE-LCHlch(49.34, 61.11, 140.20°)
OKLaboklab(54.78% -0.127 0.0908)
OKLCHoklch(54.78% 0.156 144.4)
XYZxyz(9.8301, 17.8736, 5.4140)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23872D #87237D
analogous
#4B8723 #23872D #23875F
triadic
#23872D #2D2387 #872D23
tetradic
#23872D #234B87 #87237D #875F23
square
#23872D #234B87 #87237D #875F23
split-complementary
#23872D #5F2387 #87234B
monochromatic
#0A260D #16561D #23872D #30B83D #52D25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23872D#FFFFFF#000000##FFFFFF
##23872D1.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)
#8A7A22
Deuteranopia (green-blind)
#7E7235
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #23872d;
/* rgb */ color: rgb(35, 135, 45);
/* oklch */ color: oklch(54.8% 0.156 144.4);
Tailwind
colors: {
  custom: {
    50: '#6eab6a',
    500: '#23872d',
    950: '#000000',
  },
}
SCSS
$custom: #23872d;
$custom-light: #6eab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#23872d",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 126,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54777,
    "c": 0.1561,
    "h": 144.4
  },
  "luminance": 0.17875
}

Semantic roles & 50–950 ramp

primary
#23872D
secondary
#B650AC
accent
#46D2E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #23872D

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

Preview Lab → · Contrast checker → · Palette generator →

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