#26721B#26721B

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

Color values

HEX#26721B
RGBrgb(38, 114, 27)
HSLhsl(112, 62%, 28%)
HSVhsv(112, 76%, 45%)
CMYKcmyk(66.7%, 0%, 76.3%, 55.3%)
CIE-LABlab(42.04, -40.44, 39.10)
CIE-LCHlch(42.04, 56.25, 135.97°)
OKLaboklab(48.7% -0.1105 0.0885)
OKLCHoklch(48.7% 0.142 141.3)
XYZxyz(7.0141, 12.5251, 3.0847)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#26721B #671B72
analogous
#51721B #26721B #1B723C
triadic
#26721B #1B2672 #721B26
tetradic
#26721B #1B5172 #671B72 #723C1B
square
#26721B #1B5172 #671B72 #723C1B
split-complementary
#26721B #3C1B72 #721B51
monochromatic
#081906 #16410F #26721B #36A327 #4BD038

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##26721B#FFFFFF#000000##FFFFFF
##26721B1.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)
#75670B
Deuteranopia (green-blind)
#6C6124
Tritanopia (blue-blind)
#196E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #26721b;
/* rgb */ color: rgb(38, 114, 27);
/* oklch */ color: oklch(48.7% 0.142 141.3);
Tailwind
colors: {
  custom: {
    50: '#6b9b5e',
    500: '#26721b',
    950: '#000000',
  },
}
SCSS
$custom: #26721b;
$custom-light: #6b9b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#26721b",
  "rgb": {
    "r": 38,
    "g": 114,
    "b": 27
  },
  "hsl": {
    "h": 112.414,
    "s": 61.702,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48699,
    "c": 0.14152,
    "h": 141.3
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#26721B
secondary
#9A42A7
accent
#43E5D0
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #26721B

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

Preview Lab → · Contrast checker → · Palette generator →

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