#26971D#26971D

#26971D 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#26971D
RGBrgb(38, 151, 29)
HSLhsl(116, 68%, 35%)
HSVhsv(116, 81%, 59%)
CMYKcmyk(74.8%, 0%, 80.8%, 40.8%)
CIE-LABlab(54.69, -53.27, 50.77)
CIE-LCHlch(54.69, 73.59, 136.37°)
OKLaboklab(59.2% -0.145 0.1131)
OKLCHoklch(59.2% 0.184 142)
XYZxyz(12.0870, 22.6326, 4.8937)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26971D #8E1D97
analogous
#63971D #26971D #1D9751
triadic
#26971D #1D2697 #971D26
tetradic
#26971D #1D6397 #8E1D97 #97511D
square
#26971D #1D6397 #8E1D97 #97511D
split-complementary
#26971D #511D97 #971D63
monochromatic
#0C3009 #196413 #26971D #33CA27 #5BDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #26971d;
/* rgb */ color: rgb(38, 151, 29);
/* oklch */ color: oklch(59.2% 0.184 142.0);
Tailwind
colors: {
  custom: {
    50: '#74b764',
    500: '#26971d',
    950: '#000000',
  },
}
SCSS
$custom: #26971d;
$custom-light: #74b764;
$custom-dark: #000000;
JSON
{
  "hex": "#26971d",
  "rgb": {
    "r": 38,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 115.574,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59199,
    "c": 0.18392,
    "h": 142
  },
  "luminance": 0.22634
}

Semantic roles & 50–950 ramp

primary
#26971D
secondary
#B84FC0
accent
#3DEBDE
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #26971D

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

Preview Lab → · Contrast checker → · Palette generator →

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