#26781A#26781A

#26781A is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.4% C 0.150 H 141.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#26781A
RGBrgb(38, 120, 26)
HSLhsl(112, 64%, 29%)
HSVhsv(112, 78%, 47%)
CMYKcmyk(68.3%, 0%, 78.3%, 52.9%)
CIE-LABlab(44.12, -42.76, 41.56)
CIE-LCHlch(44.12, 59.63, 135.81°)
OKLaboklab(50.42% -0.1168 0.0935)
OKLCHoklch(50.42% 0.15 141.3)
XYZxyz(7.7018, 13.9188, 3.2578)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26781A #6C1A78
analogous
#55781A #26781A #1A783D
triadic
#26781A #1A2678 #781A26
tetradic
#26781A #1A5578 #6C1A78 #783D1A
square
#26781A #1A5578 #6C1A78 #783D1A
split-complementary
#26781A #3D1A78 #781A55
monochromatic
#081905 #16460F #26781A #36AA25 #4CD438

Accessibility & contrast

On white

5.55
#26781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#26781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26781A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26781A#FFFFFF#000000##FFFFFF
##26781A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#716624
Tritanopia (blue-blind)
#167466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #26781a;
/* rgb */ color: rgb(38, 120, 26);
/* oklch */ color: oklch(50.4% 0.150 141.3);
Tailwind
colors: {
  custom: {
    50: '#6da05e',
    500: '#26781a',
    950: '#000000',
  },
}
SCSS
$custom: #26781a;
$custom-light: #6da05e;
$custom-dark: #000000;
JSON
{
  "hex": "#26781a",
  "rgb": {
    "r": 38,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 112.34,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.50417,
    "c": 0.14956,
    "h": 141.3
  },
  "luminance": 0.1392
}

Semantic roles & 50–950 ramp

primary
#26781A
secondary
#9F41AC
accent
#40E7D2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #26781A

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

Preview Lab → · Contrast checker → · Palette generator →

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