#23971A#23971A

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

Color values

HEX#23971A
RGBrgb(35, 151, 26)
HSLhsl(116, 71%, 35%)
HSVhsv(116, 83%, 59%)
CMYKcmyk(76.8%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.62, -53.94, 51.59)
CIE-LCHlch(54.62, 74.64, 136.28°)
OKLaboklab(59.12% -0.1468 0.1144)
OKLCHoklch(59.12% 0.186 142.1)
XYZxyz(11.9455, 22.5637, 4.7028)
Luminance0.2256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23971A #8E1A97
analogous
#62971A #23971A #1A9750
triadic
#23971A #1A2397 #971A23
tetradic
#23971A #1A6297 #8E1A97 #97501A
square
#23971A #1A6297 #8E1A97 #97501A
split-complementary
#23971A #501A97 #971A62
monochromatic
#0B2F08 #176311 #23971A #2FCB23 #56E04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23971A#FFFFFF#000000##000000
##23971A1.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)
#8E7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #23971a;
/* rgb */ color: rgb(35, 151, 26);
/* oklch */ color: oklch(59.1% 0.186 142.1);
Tailwind
colors: {
  custom: {
    50: '#73b762',
    500: '#23971a',
    950: '#000000',
  },
}
SCSS
$custom: #23971a;
$custom-light: #73b762;
$custom-dark: #000000;
JSON
{
  "hex": "#23971a",
  "rgb": {
    "r": 35,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 115.68,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59118,
    "c": 0.18614,
    "h": 142.1
  },
  "luminance": 0.22565
}

Semantic roles & 50–950 ramp

primary
#23971A
secondary
#B94BC2
accent
#3AEDE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #23971A

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

Preview Lab → · Contrast checker → · Palette generator →

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