#23771C#23771C

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

Color values

HEX#23771C
RGBrgb(35, 119, 28)
HSLhsl(115, 62%, 29%)
HSVhsv(115, 76%, 47%)
CMYKcmyk(70.6%, 0%, 76.5%, 53.3%)
CIE-LABlab(43.70, -42.89, 40.36)
CIE-LCHlch(43.70, 58.90, 136.74°)
OKLaboklab(50.06% -0.1168 0.0913)
OKLCHoklch(50.06% 0.148 142)
XYZxyz(7.4991, 13.6340, 3.3348)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23771C #701C77
analogous
#51771C #23771C #1C7743
triadic
#23771C #1C2377 #771C23
tetradic
#23771C #1C5177 #701C77 #77431C
square
#23771C #1C5177 #701C77 #77431C
split-complementary
#23771C #431C77 #771C51
monochromatic
#071906 #144510 #23771C #32A928 #48D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23771C#FFFFFF#000000##FFFFFF
##23771C1.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)
#7A6B0B
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#0F7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #23771c;
/* rgb */ color: rgb(35, 119, 28);
/* oklch */ color: oklch(50.1% 0.148 142.0);
Tailwind
colors: {
  custom: {
    50: '#6b9f5f',
    500: '#23771c',
    950: '#000000',
  },
}
SCSS
$custom: #23771c;
$custom-light: #6b9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#23771c",
  "rgb": {
    "r": 35,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 115.385,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50057,
    "c": 0.14826,
    "h": 142
  },
  "luminance": 0.13635
}

Semantic roles & 50–950 ramp

primary
#23771C
secondary
#A344AB
accent
#43E5D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #23771C

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

Preview Lab → · Contrast checker → · Palette generator →

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