#26971A#26971A

#26971A is a mid, vivid green. Relative luminance 0.226; OKLCH L 59.2% C 0.185 H 141.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#26971A
RGBrgb(38, 151, 26)
HSLhsl(114, 71%, 35%)
HSVhsv(114, 83%, 59%)
CMYKcmyk(74.8%, 0%, 82.8%, 40.8%)
CIE-LABlab(54.68, -53.45, 51.66)
CIE-LCHlch(54.68, 74.34, 135.98°)
OKLaboklab(59.18% -0.1456 0.1145)
OKLCHoklch(59.18% 0.185 141.8)
XYZxyz(12.0517, 22.6185, 4.7077)
Luminance0.2262 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26971A #8B1A97
analogous
#65971A #26971A #1A974D
triadic
#26971A #1A2697 #971A26
tetradic
#26971A #1A6597 #8B1A97 #974D1A
square
#26971A #1A6597 #8B1A97 #974D1A
split-complementary
#26971A #4D1A97 #971A65
monochromatic
#0C2F08 #196311 #26971A #33CB23 #5AE04B

Accessibility & contrast

On white

3.80
#26971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#26971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26971A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26971A#FFFFFF#000000##000000
##26971A1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8E7F2A
Tritanopia (blue-blind)
#009280
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #26971a;
/* rgb */ color: rgb(38, 151, 26);
/* oklch */ color: oklch(59.2% 0.185 141.8);
Tailwind
colors: {
  custom: {
    50: '#74b763',
    500: '#26971a',
    950: '#000000',
  },
}
SCSS
$custom: #26971a;
$custom-light: #74b763;
$custom-dark: #000000;
JSON
{
  "hex": "#26971a",
  "rgb": {
    "r": 38,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 114.24,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59182,
    "c": 0.18529,
    "h": 141.8
  },
  "luminance": 0.2262
}

Semantic roles & 50–950 ramp

primary
#26971A
secondary
#B74BC2
accent
#3AEDDC
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #26971A

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

Preview Lab → · Contrast checker → · Palette generator →

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