#26771E#26771E

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

Color values

HEX#26771E
RGBrgb(38, 119, 30)
HSLhsl(115, 60%, 29%)
HSVhsv(115, 75%, 47%)
CMYKcmyk(68.1%, 0%, 74.8%, 53.3%)
CIE-LABlab(43.80, -42.06, 39.69)
CIE-LCHlch(43.80, 57.83, 136.66°)
OKLaboklab(50.16% -0.1146 0.0901)
OKLCHoklch(50.16% 0.146 141.8)
XYZxyz(7.6301, 13.6987, 3.4701)
Luminance0.1370 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26771E #6F1E77
analogous
#53771E #26771E #1E7743
triadic
#26771E #1E2677 #771E26
tetradic
#26771E #1E5377 #6F1E77 #77431E
square
#26771E #1E5377 #6F1E77 #77431E
split-complementary
#26771E #431E77 #771E53
monochromatic
#081806 #164612 #26771E #36A82A #4DCF40

Accessibility & contrast

On white

5.62
#26771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #26771E
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26771E#FFFFFF#000000##FFFFFF
##26771E1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C0F
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#167366
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #26771e;
/* rgb */ color: rgb(38, 119, 30);
/* oklch */ color: oklch(50.2% 0.146 141.8);
Tailwind
colors: {
  custom: {
    50: '#6c9f60',
    500: '#26771e',
    950: '#000000',
  },
}
SCSS
$custom: #26771e;
$custom-light: #6c9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#26771e",
  "rgb": {
    "r": 38,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 114.607,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50162,
    "c": 0.14583,
    "h": 141.8
  },
  "luminance": 0.13699
}

Semantic roles & 50–950 ramp

primary
#26771E
secondary
#A246AB
accent
#45E3D5
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #26771E

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

Preview Lab → · Contrast checker → · Palette generator →

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