#23771B#23771B

#23771B is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.149 H 141.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#23771B
RGBrgb(35, 119, 27)
HSLhsl(115, 63%, 29%)
HSVhsv(115, 77%, 47%)
CMYKcmyk(70.6%, 0%, 77.3%, 53.3%)
CIE-LABlab(43.70, -42.97, 40.74)
CIE-LCHlch(43.70, 59.22, 136.53°)
OKLaboklab(50.05% -0.1171 0.0919)
OKLCHoklch(50.05% 0.149 141.9)
XYZxyz(7.4874, 13.6293, 3.2728)
Luminance0.1363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23771B #6F1B77
analogous
#51771B #23771B #1B7741
triadic
#23771B #1B2377 #771B23
tetradic
#23771B #1B5177 #6F1B77 #77411B
square
#23771B #1B5177 #6F1B77 #77411B
split-complementary
#23771B #411B77 #771B51
monochromatic
#071906 #144510 #23771B #32A926 #47D23A

Accessibility & contrast

On white

5.64
#23771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #23771B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23771B#FFFFFF#000000##FFFFFF
##23771B1.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B09
Deuteranopia (green-blind)
#706525
Tritanopia (blue-blind)
#107365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #23771b;
/* rgb */ color: rgb(35, 119, 27);
/* oklch */ color: oklch(50.0% 0.149 141.9);
Tailwind
colors: {
  custom: {
    50: '#6b9f5e',
    500: '#23771b',
    950: '#000000',
  },
}
SCSS
$custom: #23771b;
$custom-light: #6b9f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#23771b",
  "rgb": {
    "r": 35,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 114.783,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50049,
    "c": 0.14888,
    "h": 141.9
  },
  "luminance": 0.1363
}

Semantic roles & 50–950 ramp

primary
#23771B
secondary
#A242AB
accent
#42E6D8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #23771B

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

Preview Lab → · Contrast checker → · Palette generator →

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