#26871A#26871A

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

Color values

HEX#26871A
RGBrgb(38, 135, 26)
HSLhsl(113, 68%, 32%)
HSVhsv(113, 81%, 53%)
CMYKcmyk(71.9%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.27, -48.08, 46.57)
CIE-LCHlch(49.27, 66.94, 135.92°)
OKLaboklab(54.69% -0.1311 0.1039)
OKLCHoklch(54.69% 0.167 141.6)
XYZxyz(9.6492, 17.8136, 3.9069)
Luminance0.1782 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26871A #7B1A87
analogous
#5D871A #26871A #1A8744
triadic
#26871A #1A2687 #871A26
tetradic
#26871A #1A5D87 #7B1A87 #87441A
square
#26871A #1A5D87 #7B1A87 #87441A
split-complementary
#26871A #441A87 #871A5D
monochromatic
#092006 #185410 #26871A #34BA24 #52DA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26871A#FFFFFF#000000##FFFFFF
##26871A1.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)
#7F7227
Tritanopia (blue-blind)
#0D8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #26871a;
/* rgb */ color: rgb(38, 135, 26);
/* oklch */ color: oklch(54.7% 0.167 141.6);
Tailwind
colors: {
  custom: {
    50: '#70ab60',
    500: '#26871a',
    950: '#000000',
  },
}
SCSS
$custom: #26871a;
$custom-light: #70ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#26871a",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 113.394,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.16731,
    "h": 141.6
  },
  "luminance": 0.17815
}

Semantic roles & 50–950 ramp

primary
#26871A
secondary
#AD42BA
accent
#3DEBD7
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #26871A

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

Preview Lab → · Contrast checker → · Palette generator →

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