#266A40#266A40

#266A40 is a mid, moderate green. Relative luminance 0.111; OKLCH L 46.9% C 0.097 H 153.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#266A40
RGBrgb(38, 106, 64)
HSLhsl(143, 47%, 28%)
HSVhsv(143, 64%, 42%)
CMYKcmyk(64.2%, 0%, 39.6%, 58.4%)
CIE-LABlab(39.73, -31.86, 17.41)
CIE-LCHlch(39.73, 36.31, 151.34°)
OKLaboklab(46.95% -0.0863 0.0435)
OKLCHoklch(46.95% 0.097 153.2)
XYZxyz(6.8782, 11.0896, 6.6275)
Luminance0.1109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266A40 #6A2650
analogous
#2E6A26 #266A40 #266A62
triadic
#266A40 #40266A #6A4026
tetradic
#266A40 #262E6A #6A2650 #6A6226
square
#266A40 #262E6A #6A2650 #6A6226
split-complementary
#266A40 #62266A #6A262E
monochromatic
#08170E #163D25 #266A40 #36975B #4CBF78

Accessibility & contrast

On white

6.53
#266A40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#266A40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266A40
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266A40#FFFFFF#000000##FFFFFF
##266A401.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A613D
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#0D695F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #266a40;
/* rgb */ color: rgb(38, 106, 64);
/* oklch */ color: oklch(46.9% 0.097 153.2);
Tailwind
colors: {
  custom: {
    50: '#689575',
    500: '#266a40',
    950: '#000000',
  },
}
SCSS
$custom: #266a40;
$custom-light: #689575;
$custom-dark: #000000;
JSON
{
  "hex": "#266a40",
  "rgb": {
    "r": 38,
    "g": 106,
    "b": 64
  },
  "hsl": {
    "h": 142.941,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46948,
    "c": 0.09664,
    "h": 153.2
  },
  "luminance": 0.1109
}

Semantic roles & 50–950 ramp

primary
#266A40
secondary
#9D4F7F
accent
#51A4D7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #266A40

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

Preview Lab → · Contrast checker → · Palette generator →

#266A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva