#26871E#26871E

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

Color values

HEX#26871E
RGBrgb(38, 135, 30)
HSLhsl(115, 64%, 32%)
HSVhsv(115, 78%, 53%)
CMYKcmyk(71.9%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.29, -47.80, 45.22)
CIE-LCHlch(49.29, 65.80, 136.59°)
OKLaboklab(54.72% -0.1302 0.1017)
OKLCHoklch(54.72% 0.165 142)
XYZxyz(9.6971, 17.8327, 4.1591)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26871E #7F1E87
analogous
#5A871E #26871E #1E874B
triadic
#26871E #1E2687 #871E26
tetradic
#26871E #1E5A87 #7F1E87 #874B1E
square
#26871E #1E5A87 #7F1E87 #874B1E
split-complementary
#26871E #4B1E87 #871E5A
monochromatic
#0A2308 #185513 #26871E #34B929 #54D749

Accessibility & contrast

On white

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

On black

4.57
#26871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##26871E#FFFFFF#000000##FFFFFF
##26871E1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#0B8373
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #26871e;
/* rgb */ color: rgb(38, 135, 30);
/* oklch */ color: oklch(54.7% 0.165 142.0);
Tailwind
colors: {
  custom: {
    50: '#70ab62',
    500: '#26871e',
    950: '#000000',
  },
}
SCSS
$custom: #26871e;
$custom-light: #70ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#26871e",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 115.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54717,
    "c": 0.16517,
    "h": 142
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#26871E
secondary
#B048B9
accent
#41E7DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #26871E

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

Preview Lab → · Contrast checker → · Palette generator →

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