#266B40#266B40

#266B40 is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.2% C 0.098 H 153.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#266B40
RGBrgb(38, 107, 64)
HSLhsl(143, 48%, 28%)
HSVhsv(143, 64%, 42%)
CMYKcmyk(64.5%, 0%, 40.2%, 58%)
CIE-LABlab(40.08, -32.30, 17.87)
CIE-LCHlch(40.08, 36.92, 151.05°)
OKLaboklab(47.23% -0.0875 0.0446)
OKLCHoklch(47.23% 0.098 153)
XYZxyz(6.9819, 11.2969, 6.6621)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266B40 #6B2651
analogous
#2E6B26 #266B40 #266B62
triadic
#266B40 #40266B #6B4026
tetradic
#266B40 #262E6B #6B2651 #6B6226
square
#266B40 #262E6B #6B2651 #6B6226
split-complementary
#266B40 #62266B #6B262E
monochromatic
#08170E #163E25 #266B40 #36985B #4CBF77

Accessibility & contrast

On white

6.44
#266B40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#266B40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266B40
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266B40#FFFFFF#000000##FFFFFF
##266B401.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B623D
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#0D6A60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #266b40;
/* rgb */ color: rgb(38, 107, 64);
/* oklch */ color: oklch(47.2% 0.098 153.0);
Tailwind
colors: {
  custom: {
    50: '#689675',
    500: '#266b40',
    950: '#000000',
  },
}
SCSS
$custom: #266b40;
$custom-light: #689675;
$custom-dark: #000000;
JSON
{
  "hex": "#266b40",
  "rgb": {
    "r": 38,
    "g": 107,
    "b": 64
  },
  "hsl": {
    "h": 142.609,
    "s": 47.586,
    "l": 28.431
  },
  "oklch": {
    "l": 0.47232,
    "c": 0.09818,
    "h": 153
  },
  "luminance": 0.11298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #266B40

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

Preview Lab → · Contrast checker → · Palette generator →

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