#266642#266642

#266642 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.088 H 155.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#266642
RGBrgb(38, 102, 66)
HSLhsl(146, 46%, 27%)
HSVhsv(146, 63%, 40%)
CMYKcmyk(62.7%, 0%, 35.3%, 60%)
CIE-LABlab(38.39, -29.61, 14.43)
CIE-LCHlch(38.39, 32.94, 154.02°)
OKLaboklab(45.86% -0.0805 0.0364)
OKLCHoklch(45.86% 0.088 155.7)
XYZxyz(6.5335, 10.3075, 6.7984)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266642 #66264A
analogous
#2A6626 #266642 #266662
triadic
#266642 #422666 #664226
tetradic
#266642 #262A66 #66264A #666226
square
#266642 #262A66 #66264A #666226
split-complementary
#266642 #622666 #66262A
monochromatic
#08160E #153925 #266642 #37935F #4BBC7C

Accessibility & contrast

On white

6.86
#266642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#266642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266642
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266642#FFFFFF#000000##FFFFFF
##2666421.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665E40
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#0E655D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #266642;
/* rgb */ color: rgb(38, 102, 66);
/* oklch */ color: oklch(45.9% 0.088 155.7);
Tailwind
colors: {
  custom: {
    50: '#679276',
    500: '#266642',
    950: '#000000',
  },
}
SCSS
$custom: #266642;
$custom-light: #679276;
$custom-dark: #000000;
JSON
{
  "hex": "#266642",
  "rgb": {
    "r": 38,
    "g": 102,
    "b": 66
  },
  "hsl": {
    "h": 146.25,
    "s": 45.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.4586,
    "c": 0.08836,
    "h": 155.7
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#266642
secondary
#994F79
accent
#529CD5
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #266642

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

Preview Lab → · Contrast checker → · Palette generator →

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