#266C2E#266C2E

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

Color values

HEX#266C2E
RGBrgb(38, 108, 46)
HSLhsl(127, 48%, 29%)
HSVhsv(127, 65%, 42%)
CMYKcmyk(64.8%, 0%, 57.4%, 57.6%)
CIE-LABlab(40.14, -35.89, 28.05)
CIE-LCHlch(40.14, 45.55, 142.00°)
OKLaboklab(47.19% -0.0971 0.067)
OKLCHoklch(47.19% 0.118 145.4)
XYZxyz(6.6546, 11.3338, 4.4212)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#266C2E #6C2664
analogous
#416C26 #266C2E #266C51
triadic
#266C2E #2E266C #6C2E26
tetradic
#266C2E #26416C #6C2664 #6C5126
square
#266C2E #26416C #6C2664 #6C5126
split-complementary
#266C2E #51266C #6C2641
monochromatic
#08170A #163F1B #266C2E #369941 #4CC05A

Accessibility & contrast

On white

6.43
#266C2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#266C2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #266C2E
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##266C2E#FFFFFF#000000##FFFFFF
##266C2E1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6228
Deuteranopia (green-blind)
#655C33
Tritanopia (blue-blind)
#16695E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #266c2e;
/* rgb */ color: rgb(38, 108, 46);
/* oklch */ color: oklch(47.2% 0.118 145.4);
Tailwind
colors: {
  custom: {
    50: '#699768',
    500: '#266c2e',
    950: '#000000',
  },
}
SCSS
$custom: #266c2e;
$custom-light: #699768;
$custom-dark: #000000;
JSON
{
  "hex": "#266c2e",
  "rgb": {
    "r": 38,
    "g": 108,
    "b": 46
  },
  "hsl": {
    "h": 126.857,
    "s": 47.945,
    "l": 28.627
  },
  "oklch": {
    "l": 0.47188,
    "c": 0.11802,
    "h": 145.4
  },
  "luminance": 0.11334
}

Semantic roles & 50–950 ramp

primary
#266C2E
secondary
#9F4F96
accent
#50C8D8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A

Preview Lab

Preview with #266C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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