#23872C#23872C

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

Color values

HEX#23872C
RGBrgb(35, 135, 44)
HSLhsl(125, 59%, 33%)
HSVhsv(125, 74%, 53%)
CMYKcmyk(74.1%, 0%, 67.4%, 47.1%)
CIE-LABlab(49.33, -47.06, 39.56)
CIE-LCHlch(49.33, 61.48, 139.95°)
OKLaboklab(54.77% -0.1273 0.0916)
OKLCHoklch(54.77% 0.157 144.3)
XYZxyz(9.8111, 17.8660, 5.3138)
Luminance0.1787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23872C #87237E
analogous
#4C8723 #23872C #23875E
triadic
#23872C #2C2387 #872C23
tetradic
#23872C #234C87 #87237E #875E23
square
#23872C #234C87 #87237E #875E23
split-complementary
#23872C #5E2387 #87234C
monochromatic
#0A260C #16561C #23872C #30B83C #52D25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23872C#FFFFFF#000000##FFFFFF
##23872C1.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)
#8A7A20
Deuteranopia (green-blind)
#7E7234
Tritanopia (blue-blind)
#008374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #23872c;
/* rgb */ color: rgb(35, 135, 44);
/* oklch */ color: oklch(54.8% 0.157 144.3);
Tailwind
colors: {
  custom: {
    50: '#6eab69',
    500: '#23872c',
    950: '#000000',
  },
}
SCSS
$custom: #23872c;
$custom-light: #6eab69;
$custom-dark: #000000;
JSON
{
  "hex": "#23872c",
  "rgb": {
    "r": 35,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 125.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.15686,
    "h": 144.3
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#23872C
secondary
#B650AD
accent
#46D4E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #23872C

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

Preview Lab → · Contrast checker → · Palette generator →

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