#26971C#26971C

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

Color values

HEX#26971C
RGBrgb(38, 151, 28)
HSLhsl(115, 69%, 35%)
HSVhsv(115, 81%, 59%)
CMYKcmyk(74.8%, 0%, 81.5%, 40.8%)
CIE-LABlab(54.69, -53.33, 51.08)
CIE-LCHlch(54.69, 73.85, 136.24°)
OKLaboklab(59.19% -0.1452 0.1136)
OKLCHoklch(59.19% 0.184 142)
XYZxyz(12.0748, 22.6278, 4.8296)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26971C #8D1C97
analogous
#63971C #26971C #1C9750
triadic
#26971C #1C2697 #971C26
tetradic
#26971C #1C6397 #8D1C97 #97501C
square
#26971C #1C6397 #8D1C97 #97501C
split-complementary
#26971C #501C97 #971C63
monochromatic
#0C3009 #196312 #26971C #33CB26 #5BDE4F

Accessibility & contrast

On white

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

On black

5.53
#26971C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #26971C
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26971C#FFFFFF#000000##000000
##26971C1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #26971c;
/* rgb */ color: rgb(38, 151, 28);
/* oklch */ color: oklch(59.2% 0.184 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b763',
    500: '#26971c',
    950: '#000000',
  },
}
SCSS
$custom: #26971c;
$custom-light: #74b763;
$custom-dark: #000000;
JSON
{
  "hex": "#26971c",
  "rgb": {
    "r": 38,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 115.122,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59193,
    "c": 0.18439,
    "h": 142
  },
  "luminance": 0.22629
}

Semantic roles & 50–950 ramp

primary
#26971C
secondary
#B84EC1
accent
#3CECDD
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #26971C

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

Preview Lab → · Contrast checker → · Palette generator →

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