#23971C#23971C

#23971C is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.1% C 0.185 H 142.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#23971C
RGBrgb(35, 151, 28)
HSLhsl(117, 69%, 35%)
HSVhsv(117, 81%, 59%)
CMYKcmyk(76.8%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.63, -53.82, 51.00)
CIE-LCHlch(54.63, 74.15, 136.54°)
OKLaboklab(59.13% -0.1464 0.1135)
OKLCHoklch(59.13% 0.185 142.2)
XYZxyz(11.9686, 22.5730, 4.8246)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23971C #901C97
analogous
#61971C #23971C #1C9752
triadic
#23971C #1C2397 #971C23
tetradic
#23971C #1C6197 #901C97 #97521C
square
#23971C #1C6197 #901C97 #97521C
split-complementary
#23971C #521C97 #971C61
monochromatic
#0B3009 #176312 #23971C #2FCB26 #57DE4F

Accessibility & contrast

On white

3.81
#23971C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#23971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #23971C
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23971C#FFFFFF#000000##000000
##23971C1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E7F2B
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #23971c;
/* rgb */ color: rgb(35, 151, 28);
/* oklch */ color: oklch(59.1% 0.185 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b763',
    500: '#23971c',
    950: '#000000',
  },
}
SCSS
$custom: #23971c;
$custom-light: #73b763;
$custom-dark: #000000;
JSON
{
  "hex": "#23971c",
  "rgb": {
    "r": 35,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 116.585,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59129,
    "c": 0.18523,
    "h": 142.2
  },
  "luminance": 0.22574
}

Semantic roles & 50–950 ramp

primary
#23971C
secondary
#BA4EC1
accent
#3CECE2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #23971C

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

Preview Lab → · Contrast checker → · Palette generator →

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