#26872A#26872A

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

Color values

HEX#26872A
RGBrgb(38, 135, 42)
HSLhsl(122, 56%, 34%)
HSVhsv(122, 72%, 53%)
CMYKcmyk(71.9%, 0%, 68.9%, 47.1%)
CIE-LABlab(49.38, -46.72, 40.51)
CIE-LCHlch(49.38, 61.84, 139.07°)
OKLaboklab(54.82% -0.1266 0.0934)
OKLCHoklch(54.82% 0.157 143.6)
XYZxyz(9.8806, 17.9061, 5.1255)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26872A #872683
analogous
#538726 #26872A #26875B
triadic
#26872A #2A2687 #872A26
tetradic
#26872A #265387 #872683 #875B26
square
#26872A #265387 #872683 #875B26
split-complementary
#26872A #5B2687 #872653
monochromatic
#0B270C #19571B #26872A #33B739 #58D05D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26872A#FFFFFF#000000##000000
##26872A1.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)
#8A7A1D
Deuteranopia (green-blind)
#7E7233
Tritanopia (blue-blind)
#058374
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #26872a;
/* rgb */ color: rgb(38, 135, 42);
/* oklch */ color: oklch(54.8% 0.157 143.6);
Tailwind
colors: {
  custom: {
    50: '#6fab68',
    500: '#26872a',
    950: '#000000',
  },
}
SCSS
$custom: #26872a;
$custom-light: #6fab68;
$custom-dark: #000000;
JSON
{
  "hex": "#26872a",
  "rgb": {
    "r": 38,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 122.474,
    "s": 56.069,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.15736,
    "h": 143.6
  },
  "luminance": 0.17907
}

Semantic roles & 50–950 ramp

primary
#26872A
secondary
#B554B1
accent
#48D9DF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #26872A

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

Preview Lab → · Contrast checker → · Palette generator →

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