#26871C#26871C

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

Color values

HEX#26871C
RGBrgb(38, 135, 28)
HSLhsl(114, 66%, 32%)
HSVhsv(114, 79%, 53%)
CMYKcmyk(71.9%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.28, -47.94, 45.91)
CIE-LCHlch(49.28, 66.38, 136.24°)
OKLaboklab(54.7% -0.1307 0.1028)
OKLCHoklch(54.7% 0.166 141.8)
XYZxyz(9.6724, 17.8228, 4.0288)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26871C #7D1C87
analogous
#5B871C #26871C #1C8748
triadic
#26871C #1C2687 #871C26
tetradic
#26871C #1C5B87 #7D1C87 #87481C
square
#26871C #1C5B87 #7D1C87 #87481C
split-complementary
#26871C #481C87 #871C5B
monochromatic
#092207 #185411 #26871C #34BA27 #53D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26871C#FFFFFF#000000##FFFFFF
##26871C1.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)
#8A7A02
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#0C8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #26871c;
/* rgb */ color: rgb(38, 135, 28);
/* oklch */ color: oklch(54.7% 0.166 141.8);
Tailwind
colors: {
  custom: {
    50: '#70ab61',
    500: '#26871c',
    950: '#000000',
  },
}
SCSS
$custom: #26871c;
$custom-light: #70ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#26871c",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 114.393,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54703,
    "c": 0.16627,
    "h": 141.8
  },
  "luminance": 0.17824
}

Semantic roles & 50–950 ramp

primary
#26871C
secondary
#AF45BA
accent
#3FE9D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #26871C

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

Preview Lab → · Contrast checker → · Palette generator →

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