#23872B#23872B

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

Color values

HEX#23872B
RGBrgb(35, 135, 43)
HSLhsl(125, 59%, 33%)
HSVhsv(125, 74%, 53%)
CMYKcmyk(74.1%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.32, -47.17, 39.99)
CIE-LCHlch(49.32, 61.84, 139.71°)
OKLaboklab(54.76% -0.1277 0.0924)
OKLCHoklch(54.76% 0.158 144.1)
XYZxyz(9.7925, 17.8586, 5.2160)
Luminance0.1786 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23872B #87237F
analogous
#4D8723 #23872B #23875D
triadic
#23872B #2B2387 #872B23
tetradic
#23872B #234D87 #87237F #875D23
square
#23872B #234D87 #87237F #875D23
split-complementary
#23872B #5D2387 #87234D
monochromatic
#0A260C #16561C #23872B #30B83A #52D25C

Accessibility & contrast

On white

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

On black

4.57
#23872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##23872B#FFFFFF#000000##FFFFFF
##23872B1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #23872b;
/* rgb */ color: rgb(35, 135, 43);
/* oklch */ color: oklch(54.8% 0.158 144.1);
Tailwind
colors: {
  custom: {
    50: '#6eab69',
    500: '#23872b',
    950: '#000000',
  },
}
SCSS
$custom: #23872b;
$custom-light: #6eab69;
$custom-dark: #000000;
JSON
{
  "hex": "#23872b",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 124.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54756,
    "c": 0.15761,
    "h": 144.1
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

primary
#23872B
secondary
#B650AE
accent
#46D6E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #23872B

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

Preview Lab → · Contrast checker → · Palette generator →

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