#26721D#26721D

#26721D is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.140 H 141.6°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#26721D
RGBrgb(38, 114, 29)
HSLhsl(114, 59%, 28%)
HSVhsv(114, 75%, 45%)
CMYKcmyk(66.7%, 0%, 74.6%, 55.3%)
CIE-LABlab(42.05, -40.27, 38.30)
CIE-LCHlch(42.05, 55.58, 136.43°)
OKLaboklab(48.72% -0.1099 0.0871)
OKLCHoklch(48.72% 0.14 141.6)
XYZxyz(7.0380, 12.5347, 3.2107)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26721D #691D72
analogous
#50721D #26721D #1D723E
triadic
#26721D #1D2672 #721D26
tetradic
#26721D #1D5072 #691D72 #723E1D
square
#26721D #1D5072 #691D72 #723E1D
split-complementary
#26721D #3E1D72 #721D50
monochromatic
#081806 #164111 #26721D #36A329 #4BCD3C

Accessibility & contrast

On white

5.99
#26721D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#26721D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #26721D
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##26721D#FFFFFF#000000##FFFFFF
##26721D1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670F
Deuteranopia (green-blind)
#6C6125
Tritanopia (blue-blind)
#186E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #26721d;
/* rgb */ color: rgb(38, 114, 29);
/* oklch */ color: oklch(48.7% 0.140 141.6);
Tailwind
colors: {
  custom: {
    50: '#6b9b5f',
    500: '#26721d',
    950: '#000000',
  },
}
SCSS
$custom: #26721d;
$custom-light: #6b9b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#26721d",
  "rgb": {
    "r": 38,
    "g": 114,
    "b": 29
  },
  "hsl": {
    "h": 113.647,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48716,
    "c": 0.1402,
    "h": 141.6
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#26721D
secondary
#9C45A6
accent
#45E3D2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #26721D

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

Preview Lab → · Contrast checker → · Palette generator →

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