#26771C#26771C

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

Color values

HEX#26771C
RGBrgb(38, 119, 28)
HSLhsl(113, 62%, 29%)
HSVhsv(113, 76%, 47%)
CMYKcmyk(68.1%, 0%, 76.5%, 53.3%)
CIE-LABlab(43.78, -42.23, 40.47)
CIE-LCHlch(43.78, 58.49, 136.22°)
OKLaboklab(50.15% -0.1152 0.0915)
OKLCHoklch(50.15% 0.147 141.6)
XYZxyz(7.6054, 13.6888, 3.3398)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26771C #6D1C77
analogous
#54771C #26771C #1C7740
triadic
#26771C #1C2677 #771C26
tetradic
#26771C #1C5477 #6D1C77 #77401C
square
#26771C #1C5477 #6D1C77 #77401C
split-complementary
#26771C #401C77 #771C54
monochromatic
#081906 #164510 #26771C #36A928 #4DD13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26771C#FFFFFF#000000##FFFFFF
##26771C1.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)
#7A6B0B
Deuteranopia (green-blind)
#706526
Tritanopia (blue-blind)
#167365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #26771c;
/* rgb */ color: rgb(38, 119, 28);
/* oklch */ color: oklch(50.1% 0.147 141.6);
Tailwind
colors: {
  custom: {
    50: '#6c9f5f',
    500: '#26771c',
    950: '#000000',
  },
}
SCSS
$custom: #26771c;
$custom-light: #6c9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#26771c",
  "rgb": {
    "r": 38,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 113.407,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.14712,
    "h": 141.6
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#26771C
secondary
#A044AB
accent
#43E5D3
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080F05
muted
#7A7E79

Preview Lab

Preview with #26771C

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

Preview Lab → · Contrast checker → · Palette generator →

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