#26872F#26872F

#26872F is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.9% C 0.154 H 144.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#26872F
RGBrgb(38, 135, 47)
HSLhsl(126, 56%, 34%)
HSVhsv(126, 72%, 53%)
CMYKcmyk(71.9%, 0%, 65.2%, 47.1%)
CIE-LABlab(49.43, -46.17, 38.31)
CIE-LCHlch(49.43, 59.99, 140.31°)
OKLaboklab(54.87% -0.1249 0.0893)
OKLCHoklch(54.87% 0.154 144.4)
XYZxyz(9.9757, 17.9442, 5.6266)
Luminance0.1794 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26872F #87267E
analogous
#4E8726 #26872F #268760
triadic
#26872F #2F2687 #872F26
tetradic
#26872F #264E87 #87267E #876026
square
#26872F #264E87 #87267E #876026
split-complementary
#26872F #602687 #87264E
monochromatic
#0B270E #19571E #26872F #33B740 #58D063

Accessibility & contrast

On white

4.58
#26872F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#26872F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26872F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26872F#FFFFFF#000000##000000
##26872F1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7237
Tritanopia (blue-blind)
#028374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #26872f;
/* rgb */ color: rgb(38, 135, 47);
/* oklch */ color: oklch(54.9% 0.154 144.4);
Tailwind
colors: {
  custom: {
    50: '#6fab6b',
    500: '#26872f',
    950: '#000000',
  },
}
SCSS
$custom: #26872f;
$custom-light: #6fab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#26872f",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 125.567,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54873,
    "c": 0.15354,
    "h": 144.4
  },
  "luminance": 0.17945
}

Semantic roles & 50–950 ramp

primary
#26872F
secondary
#B554AC
accent
#48D1DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081007
muted
#7B7F7A

Preview Lab

Preview with #26872F

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

Preview Lab → · Contrast checker → · Palette generator →

#26872F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva