#266A2D#266A2D

#266A2D is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.6% C 0.116 H 145.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#266A2D
RGBrgb(38, 106, 45)
HSLhsl(126, 47%, 28%)
HSVhsv(126, 64%, 42%)
CMYKcmyk(64.2%, 0%, 57.5%, 58.4%)
CIE-LABlab(39.43, -35.21, 27.73)
CIE-LCHlch(39.43, 44.82, 141.78°)
OKLaboklab(46.6% -0.0953 0.0663)
OKLCHoklch(46.6% 0.116 145.2)
XYZxyz(6.4266, 10.9090, 4.2491)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266A2D #6A2663
analogous
#416A26 #266A2D #266A4F
triadic
#266A2D #2D266A #6A2D26
tetradic
#266A2D #26416A #6A2663 #6A4F26
square
#266A2D #26416A #6A2663 #6A4F26
split-complementary
#266A2D #4F266A #6A2641
monochromatic
#08170A #163D1A #266A2D #369740 #4CBF58

Accessibility & contrast

On white

6.60
#266A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#266A2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266A2D
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266A2D#FFFFFF#000000##FFFFFF
##266A2D1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6027
Deuteranopia (green-blind)
#635B32
Tritanopia (blue-blind)
#17675C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #266a2d;
/* rgb */ color: rgb(38, 106, 45);
/* oklch */ color: oklch(46.6% 0.116 145.2);
Tailwind
colors: {
  custom: {
    50: '#699568',
    500: '#266a2d',
    950: '#000000',
  },
}
SCSS
$custom: #266a2d;
$custom-light: #699568;
$custom-dark: #000000;
JSON
{
  "hex": "#266a2d",
  "rgb": {
    "r": 38,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 126.176,
    "s": 47.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.46599,
    "c": 0.1161,
    "h": 145.2
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#266A2D
secondary
#9D4F95
accent
#51C9D7
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #266A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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