#266221#266221

#266221 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.1% C 0.116 H 142.1°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#266221
RGBrgb(38, 98, 33)
HSLhsl(115, 50%, 26%)
HSVhsv(115, 66%, 38%)
CMYKcmyk(61.2%, 0%, 66.3%, 61.6%)
CIE-LABlab(36.47, -33.48, 30.48)
CIE-LCHlch(36.47, 45.28, 137.68°)
OKLaboklab(44.12% -0.0912 0.0711)
OKLCHoklch(44.12% 0.116 142.1)
XYZxyz(5.4412, 9.2568, 2.9385)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266221 #5D2162
analogous
#466221 #266221 #21623C
triadic
#266221 #212662 #622126
tetradic
#266221 #214662 #5D2162 #623C21
square
#266221 #214662 #5D2162 #623C21
split-complementary
#266221 #3C2162 #622146
monochromatic
#091708 #143412 #266221 #389030 #4ABE40

Accessibility & contrast

On white

7.36
#266221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#266221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266221
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266221#FFFFFF#000000##FFFFFF
##2662211.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64591A
Deuteranopia (green-blind)
#5D5426
Tritanopia (blue-blind)
#1D5F54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #266221;
/* rgb */ color: rgb(38, 98, 33);
/* oklch */ color: oklch(44.1% 0.116 142.1);
Tailwind
colors: {
  custom: {
    50: '#688f5f',
    500: '#266221',
    950: '#000000',
  },
}
SCSS
$custom: #266221;
$custom-light: #688f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#266221",
  "rgb": {
    "r": 38,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 115.385,
    "s": 49.618,
    "l": 25.686
  },
  "oklch": {
    "l": 0.44118,
    "c": 0.11568,
    "h": 142.1
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#266221
secondary
#904996
accent
#4FD9CE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #266221

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

Preview Lab → · Contrast checker → · Palette generator →

#266221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva