#266226#266226

#266226 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.111 H 143.4°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#266226
RGBrgb(38, 98, 38)
HSLhsl(120, 44%, 27%)
HSVhsv(120, 61%, 38%)
CMYKcmyk(61.2%, 0%, 61.2%, 61.6%)
CIE-LABlab(36.53, -32.84, 27.99)
CIE-LCHlch(36.53, 43.15, 139.55°)
OKLaboklab(44.18% -0.0892 0.0663)
OKLCHoklch(44.18% 0.111 143.4)
XYZxyz(5.5166, 9.2869, 3.3352)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266226 #622662
analogous
#446226 #266226 #266244
triadic
#266226 #262662 #622626
tetradic
#266226 #264462 #622662 #624426
square
#266226 #264462 #622662 #624426
split-complementary
#266226 #442662 #622644
monochromatic
#091609 #153615 #266226 #378E37 #4AB94A

Accessibility & contrast

On white

7.35
#266226 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#266226 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #266226
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266226#FFFFFF#000000##FFFFFF
##2662261.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645920
Deuteranopia (green-blind)
#5C542B
Tritanopia (blue-blind)
#1C5F55
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #266226;
/* rgb */ color: rgb(38, 98, 38);
/* oklch */ color: oklch(44.2% 0.111 143.4);
Tailwind
colors: {
  custom: {
    50: '#678f62',
    500: '#266226',
    950: '#000000',
  },
}
SCSS
$custom: #266226;
$custom-light: #678f62;
$custom-dark: #000000;
JSON
{
  "hex": "#266226",
  "rgb": {
    "r": 38,
    "g": 98,
    "b": 38
  },
  "hsl": {
    "h": 120,
    "s": 44.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.44183,
    "c": 0.11114,
    "h": 143.4
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#266226
secondary
#954F95
accent
#54D4D4
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#060C05
muted
#7A7D79

Preview Lab

Preview with #266226

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

Preview Lab → · Contrast checker → · Palette generator →

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