#26781B#26781B

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

Color values

HEX#26781B
RGBrgb(38, 120, 27)
HSLhsl(113, 63%, 29%)
HSVhsv(113, 78%, 47%)
CMYKcmyk(68.3%, 0%, 77.5%, 52.9%)
CIE-LABlab(44.12, -42.68, 41.19)
CIE-LCHlch(44.12, 59.31, 136.01°)
OKLaboklab(50.43% -0.1165 0.0928)
OKLCHoklch(50.43% 0.149 141.5)
XYZxyz(7.7132, 13.9234, 3.3177)
Luminance0.1392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26781B #6D1B78
analogous
#55781B #26781B #1B783F
triadic
#26781B #1B2678 #781B26
tetradic
#26781B #1B5578 #6D1B78 #783F1B
square
#26781B #1B5578 #6D1B78 #783F1B
split-complementary
#26781B #3F1B78 #781B55
monochromatic
#081906 #164610 #26781B #36AA26 #4DD33B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26781B#FFFFFF#000000##FFFFFF
##26781B1.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)
#7B6C08
Deuteranopia (green-blind)
#716625
Tritanopia (blue-blind)
#167466
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #26781b;
/* rgb */ color: rgb(38, 120, 27);
/* oklch */ color: oklch(50.4% 0.149 141.5);
Tailwind
colors: {
  custom: {
    50: '#6da05e',
    500: '#26781b',
    950: '#000000',
  },
}
SCSS
$custom: #26781b;
$custom-light: #6da05e;
$custom-dark: #000000;
JSON
{
  "hex": "#26781b",
  "rgb": {
    "r": 38,
    "g": 120,
    "b": 27
  },
  "hsl": {
    "h": 112.903,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50425,
    "c": 0.14896,
    "h": 141.5
  },
  "luminance": 0.13924
}

Semantic roles & 50–950 ramp

primary
#26781B
secondary
#A043AC
accent
#41E6D3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79

Preview Lab

Preview with #26781B

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

Preview Lab → · Contrast checker → · Palette generator →

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