#26971F#26971F

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

Color values

HEX#26971F
RGBrgb(38, 151, 31)
HSLhsl(117, 66%, 36%)
HSVhsv(117, 79%, 59%)
CMYKcmyk(74.8%, 0%, 79.5%, 40.8%)
CIE-LABlab(54.70, -53.14, 50.15)
CIE-LCHlch(54.70, 73.06, 136.66°)
OKLaboklab(59.21% -0.1446 0.1121)
OKLCHoklch(59.21% 0.183 142.2)
XYZxyz(12.1125, 22.6428, 5.0282)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26971F #901F97
analogous
#62971F #26971F #1F9754
triadic
#26971F #1F2697 #971F26
tetradic
#26971F #1F6297 #901F97 #97541F
square
#26971F #1F6297 #901F97 #97541F
split-complementary
#26971F #541F97 #971F62
monochromatic
#0C310A #196415 #26971F #33CA29 #5CDC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26971F#FFFFFF#000000##000000
##26971F1.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)
#8E802D
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #26971f;
/* rgb */ color: rgb(38, 151, 31);
/* oklch */ color: oklch(59.2% 0.183 142.2);
Tailwind
colors: {
  custom: {
    50: '#74b765',
    500: '#26971f',
    950: '#000000',
  },
}
SCSS
$custom: #26971f;
$custom-light: #74b765;
$custom-dark: #000000;
JSON
{
  "hex": "#26971f",
  "rgb": {
    "r": 38,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 116.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59211,
    "c": 0.18294,
    "h": 142.2
  },
  "luminance": 0.22644
}

Semantic roles & 50–950 ramp

primary
#26971F
secondary
#B952BF
accent
#3FE9DF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #26971F

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

Preview Lab → · Contrast checker → · Palette generator →

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