#23771D#23771D

#23771D is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.1% C 0.148 H 142.1°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#23771D
RGBrgb(35, 119, 29)
HSLhsl(116, 61%, 29%)
HSVhsv(116, 76%, 47%)
CMYKcmyk(70.6%, 0%, 75.6%, 53.3%)
CIE-LABlab(43.71, -42.81, 39.98)
CIE-LCHlch(43.71, 58.57, 136.96°)
OKLaboklab(50.07% -0.1166 0.0906)
OKLCHoklch(50.07% 0.148 142.1)
XYZxyz(7.5113, 13.6389, 3.3989)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23771D #711D77
analogous
#50771D #23771D #1D7744
triadic
#23771D #1D2377 #771D23
tetradic
#23771D #1D5077 #711D77 #77441D
square
#23771D #1D5077 #711D77 #77441D
split-complementary
#23771D #441D77 #771D50
monochromatic
#071906 #154611 #23771D #31A829 #48D03E

Accessibility & contrast

On white

5.63
#23771D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#23771D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #23771D
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23771D#FFFFFF#000000##FFFFFF
##23771D1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B0D
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#0F7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #23771d;
/* rgb */ color: rgb(35, 119, 29);
/* oklch */ color: oklch(50.1% 0.148 142.1);
Tailwind
colors: {
  custom: {
    50: '#6b9f5f',
    500: '#23771d',
    950: '#000000',
  },
}
SCSS
$custom: #23771d;
$custom-light: #6b9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#23771d",
  "rgb": {
    "r": 35,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 116,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50065,
    "c": 0.14763,
    "h": 142.1
  },
  "luminance": 0.1364
}

Semantic roles & 50–950 ramp

primary
#23771D
secondary
#A445AB
accent
#44E4D9
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #23771D

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

Preview Lab → · Contrast checker → · Palette generator →

#23771D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva