#23971F#23971F

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

Color values

HEX#23971F
RGBrgb(35, 151, 31)
HSLhsl(118, 66%, 36%)
HSVhsv(118, 79%, 59%)
CMYKcmyk(76.8%, 0%, 79.5%, 40.8%)
CIE-LABlab(54.65, -53.63, 50.07)
CIE-LCHlch(54.65, 73.37, 136.96°)
OKLaboklab(59.15% -0.1458 0.1119)
OKLCHoklch(59.15% 0.184 142.5)
XYZxyz(12.0063, 22.5881, 5.0232)
Luminance0.2259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23971F #931F97
analogous
#5F971F #23971F #1F9757
triadic
#23971F #1F2397 #971F23
tetradic
#23971F #1F5F97 #931F97 #97571F
square
#23971F #1F5F97 #931F97 #97571F
split-complementary
#23971F #571F97 #971F5F
monochromatic
#0B310A #176415 #23971F #2FCA29 #59DC54

Accessibility & contrast

On white

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

On black

5.52
#23971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #23971F
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23971F#FFFFFF#000000##000000
##23971F1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23971f;
/* rgb */ color: rgb(35, 151, 31);
/* oklch */ color: oklch(59.1% 0.184 142.5);
Tailwind
colors: {
  custom: {
    50: '#73b765',
    500: '#23971f',
    950: '#000000',
  },
}
SCSS
$custom: #23971f;
$custom-light: #73b765;
$custom-dark: #000000;
JSON
{
  "hex": "#23971f",
  "rgb": {
    "r": 35,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 118,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59147,
    "c": 0.18378,
    "h": 142.5
  },
  "luminance": 0.22589
}

Semantic roles & 50–950 ramp

primary
#23971F
secondary
#BC52BF
accent
#3FE9E3
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #23971F

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

Preview Lab → · Contrast checker → · Palette generator →

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