#23771E#23771E

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

Color values

HEX#23771E
RGBrgb(35, 119, 30)
HSLhsl(117, 60%, 29%)
HSVhsv(117, 75%, 47%)
CMYKcmyk(70.6%, 0%, 74.8%, 53.3%)
CIE-LABlab(43.72, -42.72, 39.58)
CIE-LCHlch(43.72, 58.24, 137.18°)
OKLaboklab(50.07% -0.1163 0.0899)
OKLCHoklch(50.07% 0.147 142.3)
XYZxyz(7.5239, 13.6439, 3.4651)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23771E #721E77
analogous
#50771E #23771E #1E7746
triadic
#23771E #1E2377 #771E23
tetradic
#23771E #1E5077 #721E77 #77461E
square
#23771E #1E5077 #721E77 #77461E
split-complementary
#23771E #461E77 #771E50
monochromatic
#071806 #154612 #23771E #31A82A #48CF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##23771E#FFFFFF#000000##FFFFFF
##23771E1.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)
#7A6B0F
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#0F7366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #23771e;
/* rgb */ color: rgb(35, 119, 30);
/* oklch */ color: oklch(50.1% 0.147 142.3);
Tailwind
colors: {
  custom: {
    50: '#6b9f60',
    500: '#23771e',
    950: '#000000',
  },
}
SCSS
$custom: #23771e;
$custom-light: #6b9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#23771e",
  "rgb": {
    "r": 35,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 116.629,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50073,
    "c": 0.14698,
    "h": 142.3
  },
  "luminance": 0.13645
}

Semantic roles & 50–950 ramp

primary
#23771E
secondary
#A546AB
accent
#45E3DA
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #23771E

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

Preview Lab → · Contrast checker → · Palette generator →

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