#26872B#26872B

#26872B is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.157 H 143.8°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#26872B
RGBrgb(38, 135, 43)
HSLhsl(123, 56%, 34%)
HSVhsv(123, 72%, 53%)
CMYKcmyk(71.9%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.39, -46.61, 40.08)
CIE-LCHlch(49.39, 61.48, 139.31°)
OKLaboklab(54.83% -0.1263 0.0926)
OKLCHoklch(54.83% 0.157 143.8)
XYZxyz(9.8987, 17.9134, 5.2210)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26872B #872682
analogous
#528726 #26872B #26875C
triadic
#26872B #2B2687 #872B26
tetradic
#26872B #265287 #872682 #875C26
square
#26872B #265287 #872682 #875C26
split-complementary
#26872B #5C2687 #872652
monochromatic
#0B270D #19571C #26872B #33B73A #58D05E

Accessibility & contrast

On white

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

On black

4.58
#26872B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26872B
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26872B#FFFFFF#000000##000000
##26872B1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7A1F
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#058374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #26872b;
/* rgb */ color: rgb(38, 135, 43);
/* oklch */ color: oklch(54.8% 0.157 143.8);
Tailwind
colors: {
  custom: {
    50: '#6fab69',
    500: '#26872b',
    950: '#000000',
  },
}
SCSS
$custom: #26872b;
$custom-light: #6fab69;
$custom-dark: #000000;
JSON
{
  "hex": "#26872b",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 123.093,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5483,
    "c": 0.15662,
    "h": 143.8
  },
  "luminance": 0.17914
}

Semantic roles & 50–950 ramp

primary
#26872B
secondary
#B554B0
accent
#48D8DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #26872B

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

Preview Lab → · Contrast checker → · Palette generator →

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