#266C40#266C40

#266C40 is a mid, moderate green. Relative luminance 0.115; OKLCH L 47.5% C 0.100 H 152.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#266C40
RGBrgb(38, 108, 64)
HSLhsl(142, 48%, 29%)
HSVhsv(142, 65%, 42%)
CMYKcmyk(64.8%, 0%, 40.7%, 57.6%)
CIE-LABlab(40.42, -32.75, 18.33)
CIE-LCHlch(40.42, 37.53, 150.76°)
OKLaboklab(47.52% -0.0886 0.0457)
OKLCHoklch(47.52% 0.1 152.7)
XYZxyz(7.0867, 11.5067, 6.6970)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266C40 #6C2652
analogous
#2F6C26 #266C40 #266C63
triadic
#266C40 #40266C #6C4026
tetradic
#266C40 #262F6C #6C2652 #6C6326
square
#266C40 #262F6C #6C2652 #6C6326
split-complementary
#266C40 #63266C #6C262F
monochromatic
#08170D #163F25 #266C40 #36995B #4CC077

Accessibility & contrast

On white

6.36
#266C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#266C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266C40
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266C40#FFFFFF#000000##FFFFFF
##266C401.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#635D43
Tritanopia (blue-blind)
#0C6B61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #266c40;
/* rgb */ color: rgb(38, 108, 64);
/* oklch */ color: oklch(47.5% 0.100 152.7);
Tailwind
colors: {
  custom: {
    50: '#689775',
    500: '#266c40',
    950: '#000000',
  },
}
SCSS
$custom: #266c40;
$custom-light: #689775;
$custom-dark: #000000;
JSON
{
  "hex": "#266c40",
  "rgb": {
    "r": 38,
    "g": 108,
    "b": 64
  },
  "hsl": {
    "h": 142.286,
    "s": 47.945,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47515,
    "c": 0.09971,
    "h": 152.7
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#266C40
secondary
#9F4F81
accent
#50A5D8
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070D08
muted
#7A7E7B

Preview Lab

Preview with #266C40

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

Preview Lab → · Contrast checker → · Palette generator →

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