#23971B#23971B

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

Color values

HEX#23971B
RGBrgb(35, 151, 27)
HSLhsl(116, 70%, 35%)
HSVhsv(116, 82%, 59%)
CMYKcmyk(76.8%, 0%, 82.1%, 40.8%)
CIE-LABlab(54.62, -53.89, 51.30)
CIE-LCHlch(54.62, 74.40, 136.41°)
OKLaboklab(59.12% -0.1466 0.1139)
OKLCHoklch(59.12% 0.186 142.2)
XYZxyz(11.9569, 22.5683, 4.7627)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23971B #8F1B97
analogous
#61971B #23971B #1B9751
triadic
#23971B #1B2397 #971B23
tetradic
#23971B #1B6197 #8F1B97 #97511B
square
#23971B #1B6197 #8F1B97 #97511B
split-complementary
#23971B #511B97 #971B61
monochromatic
#0B2F08 #176312 #23971B #2FCB24 #57DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23971B#FFFFFF#000000##000000
##23971B1.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: #23971b;
/* rgb */ color: rgb(35, 151, 27);
/* oklch */ color: oklch(59.1% 0.186 142.2);
Tailwind
colors: {
  custom: {
    50: '#73b763',
    500: '#23971b',
    950: '#000000',
  },
}
SCSS
$custom: #23971b;
$custom-light: #73b763;
$custom-dark: #000000;
JSON
{
  "hex": "#23971b",
  "rgb": {
    "r": 35,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 116.129,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.1857,
    "h": 142.2
  },
  "luminance": 0.2257
}

Semantic roles & 50–950 ramp

primary
#23971B
secondary
#BA4CC1
accent
#3BECE1
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #23971B

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

Preview Lab → · Contrast checker → · Palette generator →

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