#23972F#23972F

#23972F is a mid, vivid green. Relative luminance 0.227; OKLCH L 59.3% C 0.174 H 144.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#23972F
RGBrgb(35, 151, 47)
HSLhsl(126, 62%, 36%)
HSVhsv(126, 77%, 59%)
CMYKcmyk(76.8%, 0%, 68.9%, 40.8%)
CIE-LABlab(54.76, -52.27, 44.14)
CIE-LCHlch(54.76, 68.41, 139.82°)
OKLaboklab(59.28% -0.1413 0.1017)
OKLCHoklch(59.28% 0.174 144.3)
XYZxyz(12.2720, 22.6944, 6.4225)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23972F #97238B
analogous
#519723 #23972F #239769
triadic
#23972F #2F2397 #972F23
tetradic
#23972F #235197 #97238B #976923
square
#23972F #235197 #97238B #976923
split-complementary
#23972F #692397 #972351
monochromatic
#0C3410 #176520 #23972F #2FC93E #5BD968

Accessibility & contrast

On white

3.79
#23972F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#23972F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #23972F
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23972F#FFFFFF#000000##000000
##23972F1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8821
Deuteranopia (green-blind)
#8D8039
Tritanopia (blue-blind)
#009382
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #23972f;
/* rgb */ color: rgb(35, 151, 47);
/* oklch */ color: oklch(59.3% 0.174 144.3);
Tailwind
colors: {
  custom: {
    50: '#72b76d',
    500: '#23972f',
    950: '#000000',
  },
}
SCSS
$custom: #23972f;
$custom-light: #72b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#23972f",
  "rgb": {
    "r": 35,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 126.207,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59275,
    "c": 0.17408,
    "h": 144.3
  },
  "luminance": 0.22696
}

Semantic roles & 50–950 ramp

primary
#23972F
secondary
#BE58B3
accent
#42D5E5
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #23972F

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

Preview Lab → · Contrast checker → · Palette generator →

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