#23771F#23771F

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

Color values

HEX#23771F
RGBrgb(35, 119, 31)
HSLhsl(117, 59%, 29%)
HSVhsv(117, 74%, 47%)
CMYKcmyk(70.6%, 0%, 73.9%, 53.3%)
CIE-LABlab(43.73, -42.63, 39.18)
CIE-LCHlch(43.73, 57.90, 137.41°)
OKLaboklab(50.08% -0.116 0.0892)
OKLCHoklch(50.08% 0.146 142.4)
XYZxyz(7.5369, 13.6491, 3.5334)
Luminance0.1365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23771F #731F77
analogous
#4F771F #23771F #1F7747
triadic
#23771F #1F2377 #771F23
tetradic
#23771F #1F4F77 #731F77 #77471F
square
#23771F #1F4F77 #731F77 #77471F
split-complementary
#23771F #471F77 #771F4F
monochromatic
#071806 #154612 #23771F #31A82C #49CE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23771F#FFFFFF#000000##FFFFFF
##23771F1.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)
#7A6B11
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#0E7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #23771f;
/* rgb */ color: rgb(35, 119, 31);
/* oklch */ color: oklch(50.1% 0.146 142.4);
Tailwind
colors: {
  custom: {
    50: '#6b9f60',
    500: '#23771f',
    950: '#000000',
  },
}
SCSS
$custom: #23771f;
$custom-light: #6b9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#23771f",
  "rgb": {
    "r": 35,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 117.273,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50082,
    "c": 0.14631,
    "h": 142.4
  },
  "luminance": 0.1365
}

Semantic roles & 50–950 ramp

primary
#23771F
secondary
#A647AB
accent
#46E2DB
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #23771F

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

Preview Lab → · Contrast checker → · Palette generator →

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