#23842D#23842D

#23842D is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.9% C 0.152 H 144.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#23842D
RGBrgb(35, 132, 45)
HSLhsl(126, 58%, 33%)
HSVhsv(126, 73%, 52%)
CMYKcmyk(73.5%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.32, -45.88, 37.98)
CIE-LCHlch(48.32, 59.56, 140.38°)
OKLaboklab(53.93% -0.1241 0.0884)
OKLCHoklch(53.93% 0.152 144.5)
XYZxyz(9.4174, 17.0483, 5.2764)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23842D #84237A
analogous
#498423 #23842D #23845E
triadic
#23842D #2D2384 #842D23
tetradic
#23842D #234984 #84237A #845E23
square
#23842D #234984 #84237A #845E23
split-complementary
#23842D #5E2384 #842349
monochromatic
#09230C #16541D #23842D #30B43D #51D15E

Accessibility & contrast

On white

4.76
#23842D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#23842D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23842D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23842D#FFFFFF#000000##FFFFFF
##23842D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867723
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #23842d;
/* rgb */ color: rgb(35, 132, 45);
/* oklch */ color: oklch(53.9% 0.152 144.5);
Tailwind
colors: {
  custom: {
    50: '#6da96a',
    500: '#23842d',
    950: '#000000',
  },
}
SCSS
$custom: #23842d;
$custom-light: #6da96a;
$custom-dark: #000000;
JSON
{
  "hex": "#23842d",
  "rgb": {
    "r": 35,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 126.186,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5393,
    "c": 0.15233,
    "h": 144.5
  },
  "luminance": 0.17049
}

Semantic roles & 50–950 ramp

primary
#23842D
secondary
#B44EAA
accent
#46D1E1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #23842D

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

Preview Lab → · Contrast checker → · Palette generator →

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