#23842F#23842F

#23842F is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.151 H 144.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#23842F
RGBrgb(35, 132, 47)
HSLhsl(127, 58%, 33%)
HSVhsv(127, 73%, 52%)
CMYKcmyk(73.5%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.34, -45.64, 37.07)
CIE-LCHlch(48.34, 58.80, 140.91°)
OKLaboklab(53.95% -0.1233 0.0867)
OKLCHoklch(53.95% 0.151 144.9)
XYZxyz(9.4569, 17.0640, 5.4841)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23842F #842378
analogous
#478423 #23842F #238460
triadic
#23842F #2F2384 #842F23
tetradic
#23842F #234784 #842378 #846023
square
#23842F #234784 #842378 #846023
split-complementary
#23842F #602384 #842347
monochromatic
#09230D #16541E #23842F #30B440 #51D160

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23842F#FFFFFF#000000##FFFFFF
##23842F1.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)
#867825
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #23842f;
/* rgb */ color: rgb(35, 132, 47);
/* oklch */ color: oklch(54.0% 0.151 144.9);
Tailwind
colors: {
  custom: {
    50: '#6da96b',
    500: '#23842f',
    950: '#000000',
  },
}
SCSS
$custom: #23842f;
$custom-light: #6da96b;
$custom-dark: #000000;
JSON
{
  "hex": "#23842f",
  "rgb": {
    "r": 35,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 127.423,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.53953,
    "c": 0.15073,
    "h": 144.9
  },
  "luminance": 0.17065
}

Semantic roles & 50–950 ramp

primary
#23842F
secondary
#B44EA8
accent
#46CEE1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #23842F

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

Preview Lab → · Contrast checker → · Palette generator →

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