#26871B#26871B

#26871B is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.167 H 141.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#26871B
RGBrgb(38, 135, 27)
HSLhsl(114, 67%, 32%)
HSVhsv(114, 80%, 53%)
CMYKcmyk(71.9%, 0%, 80%, 47.1%)
CIE-LABlab(49.27, -48.02, 46.24)
CIE-LCHlch(49.27, 66.66, 136.08°)
OKLaboklab(54.7% -0.1309 0.1034)
OKLCHoklch(54.7% 0.167 141.7)
XYZxyz(9.6606, 17.8181, 3.9668)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26871B #7C1B87
analogous
#5C871B #26871B #1B8746
triadic
#26871B #1B2687 #871B26
tetradic
#26871B #1B5C87 #7C1B87 #87461B
square
#26871B #1B5C87 #7C1B87 #87461B
split-complementary
#26871B #461B87 #871B5C
monochromatic
#092107 #185411 #26871B #34BA25 #52D943

Accessibility & contrast

On white

4.60
#26871B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#26871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #26871B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26871B#FFFFFF#000000##FFFFFF
##26871B1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A00
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#0C8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #26871b;
/* rgb */ color: rgb(38, 135, 27);
/* oklch */ color: oklch(54.7% 0.167 141.7);
Tailwind
colors: {
  custom: {
    50: '#70ab60',
    500: '#26871b',
    950: '#000000',
  },
}
SCSS
$custom: #26871b;
$custom-light: #70ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#26871b",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 113.889,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54697,
    "c": 0.1668,
    "h": 141.7
  },
  "luminance": 0.17819
}

Semantic roles & 50–950 ramp

primary
#26871B
secondary
#AE44BA
accent
#3EEAD8
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #26871B

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

Preview Lab → · Contrast checker → · Palette generator →

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