#26771F#26771F

#26771F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.145 H 142.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#26771F
RGBrgb(38, 119, 31)
HSLhsl(115, 59%, 29%)
HSVhsv(115, 74%, 47%)
CMYKcmyk(68.1%, 0%, 73.9%, 53.3%)
CIE-LABlab(43.81, -41.97, 39.29)
CIE-LCHlch(43.81, 57.49, 136.89°)
OKLaboklab(50.17% -0.1144 0.0894)
OKLCHoklch(50.17% 0.145 142)
XYZxyz(7.6431, 13.7039, 3.5384)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26771F #701F77
analogous
#52771F #26771F #1F7744
triadic
#26771F #1F2677 #771F26
tetradic
#26771F #1F5277 #701F77 #77441F
square
#26771F #1F5277 #701F77 #77441F
split-complementary
#26771F #441F77 #771F52
monochromatic
#081806 #164612 #26771F #36A82C #4ECE43

Accessibility & contrast

On white

5.61
#26771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#26771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26771F
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26771F#FFFFFF#000000##FFFFFF
##26771F1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C11
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#157366
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #26771f;
/* rgb */ color: rgb(38, 119, 31);
/* oklch */ color: oklch(50.2% 0.145 142.0);
Tailwind
colors: {
  custom: {
    50: '#6c9f60',
    500: '#26771f',
    950: '#000000',
  },
}
SCSS
$custom: #26771f;
$custom-light: #6c9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#26771f",
  "rgb": {
    "r": 38,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 115.227,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.14517,
    "h": 142
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#26771F
secondary
#A347AB
accent
#46E2D5
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #26771F

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

Preview Lab → · Contrast checker → · Palette generator →

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